Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Eladmin
Commits
3cde757b
"src/main/java/net/git@ustchcs.com:gujinli1118/MCMS.git" did not exist on "78354c793388af8be85820bfbe6b99cf20576f76"
Commit
3cde757b
authored
May 08, 2019
by
zhengjie
Browse files
打包时跳过单元测试
parent
a43711ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
eladmin-system/src/test/java/me/zhengjie/EladminSystemApplicationTests.java
View file @
3cde757b
package
me.zhengjie
;
import
me.zhengjie.modules.monitor.service.RedisService
;
import
org.junit.Test
;
import
org.junit.runner.RunWith
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.test.context.SpringBootTest
;
import
org.springframework.test.context.junit4.SpringRunner
;
...
...
pom.xml
View file @
3cde757b
...
...
@@ -198,6 +198,19 @@
</dependency>
</dependencies>
<build>
<plugins>
<!-- 打包时跳过测试 -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-surefire-plugin
</artifactId>
<configuration>
<skip>
true
</skip>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>
public
</id>
...
...
@@ -208,6 +221,7 @@
</releases>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>
public
</id>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment