Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
D
device-back
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
1
议题
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Matrix
device-back
Commits
86ab96cd
提交
86ab96cd
authored
9月 18, 2020
作者:
Matrix
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
更换数据库与打包插件
上级
76f1871b
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
41 行增加
和
24 行删除
+41
-24
pom.xml
dev-union/pom.xml
+40
-23
application-test.properties
dev-union/src/main/resources/application-test.properties
+1
-1
没有找到文件。
dev-union/pom.xml
浏览文件 @
86ab96cd
...
@@ -366,32 +366,49 @@
...
@@ -366,32 +366,49 @@
<build>
<build>
<finalName>
equip
</finalName>
<finalName>
equip
</finalName>
<plugins>
<plugins>
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-war-plugin</artifactId>-->
<!-- <version>3.1.0</version>-->
<!-- <configuration>-->
<!-- <webResources>-->
<!-- <!–配置第三方jar包打包的路径–>-->
<!-- <resource>-->
<!-- <directory>src/main/resources/lib/</directory>-->
<!-- <targetPath>WEB-INF/lib/</targetPath>-->
<!-- <includes>-->
<!-- <include>**/*.jar</include>-->
<!-- </includes>-->
<!-- </resource>-->
<!-- <resource>-->
<!-- <directory>../dev-rfid/src/main/resources/lib/</directory>-->
<!-- <targetPath>WEB-INF/lib/</targetPath>-->
<!-- <includes>-->
<!-- <include>**/*.jar</include>-->
<!-- </includes>-->
<!-- </resource>-->
<!-- </webResources>-->
<!-- <!– maven打包的时候告诉maven不需要web.xml,否刚会报找不到web.xml错误 –>-->
<!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!--打包插件-->
<plugin>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<configuration>
<executable>
true
</executable>
<includeSystemScope>
true
</includeSystemScope>
</configuration>
</plugin>
<!--跳过测试插件-->
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-
war
-plugin
</artifactId>
<artifactId>
maven-
surefire
-plugin
</artifactId>
<version>
3.1.
0
</version>
<version>
2.2
0
</version>
<configuration>
<configuration>
<webResources>
<skipTests>
true
</skipTests>
<!--默认关掉单元测试 -->
<!--配置第三方jar包打包的路径-->
<resource>
<directory>
src/main/resources/lib/
</directory>
<targetPath>
WEB-INF/lib/
</targetPath>
<includes>
<include>
**/*.jar
</include>
</includes>
</resource>
<resource>
<directory>
../dev-rfid/src/main/resources/lib/
</directory>
<targetPath>
WEB-INF/lib/
</targetPath>
<includes>
<include>
**/*.jar
</include>
</includes>
</resource>
</webResources>
<!-- maven打包的时候告诉maven不需要web.xml,否刚会报找不到web.xml错误 -->
<failOnMissingWebXml>
false
</failOnMissingWebXml>
</configuration>
</configuration>
</plugin>
</plugin>
</plugins>
</plugins>
...
...
dev-union/src/main/resources/application-test.properties
浏览文件 @
86ab96cd
spring.jpa.hibernate.ddl-auto
=
update
spring.jpa.hibernate.ddl-auto
=
update
spring.datasource.url
=
jdbc:mysql://124.70.145.101:3306/
test
?serverTimezone=Asia/Shanghai&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
spring.datasource.url
=
jdbc:mysql://124.70.145.101:3306/
device
?serverTimezone=Asia/Shanghai&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.username
=
device
spring.datasource.username
=
device
spring.datasource.password
=
Qwer1234
spring.datasource.password
=
Qwer1234
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论