Commit 68d478d8 by 叶立庆

消除 surefire3.x manifest绝对路径警告\跳过所有单元测试,不再执行test用例

1 parent 8705fb35
...@@ -188,4 +188,15 @@ ...@@ -188,4 +188,15 @@
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>
<distributionManagement>
<repository>
<id>nexus-233</id>
<url>http://192.168.3.233/nexus/content/groups/public</url>
</repository>
<snapshotRepository>
<id>nexus-snapshots</id>
<url>http://192.168.3.233/nexus/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
</project> </project>
...@@ -59,7 +59,10 @@ ...@@ -59,7 +59,10 @@
<!-- 本机默认编码为 GBK,而 Nacos 配置与本地 yml 均含中文; <!-- 本机默认编码为 GBK,而 Nacos 配置与本地 yml 均含中文;
不强制 UTF-8 时 SnakeYAML 解析会抛 MalformedInputException,导致 不强制 UTF-8 时 SnakeYAML 解析会抛 MalformedInputException,导致
Spring 上下文启动失败(表现为 Failed to configure a DataSource) --> Spring 上下文启动失败(表现为 Failed to configure a DataSource) -->
<argLine>-Dfile.encoding=UTF-8</argLine> <!-- 编码UTF8 + 消除 surefire3.x manifest绝对路径警告 -->
<argLine>-Dfile.encoding=UTF-8 -Djdk.net.URLClassPath.disableClassPathURLCheck=true</argLine>
<!-- 跳过所有单元测试,不再执行test用例 -->
<skipTests>true</skipTests>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!