Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
dj
/
YouJia
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 68d478d8
authored
Oct 08, 2026
by
叶立庆
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
消除 surefire3.x manifest绝对路径警告\跳过所有单元测试,不再执行test用例
1 parent
8705fb35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
1 deletions
pom.xml
youjia-server/pom.xml
pom.xml
View file @
68d478d
...
@@ -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>
youjia-server/pom.xml
View file @
68d478d
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment