"src/main/java/net/git@ustchcs.com:gujinli1118/MCMS.git" did not exist on "78354c793388af8be85820bfbe6b99cf20576f76"
Commit 3cde757b authored by zhengjie's avatar zhengjie
Browse files

打包时跳过单元测试

parent a43711ac
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;
......
......@@ -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>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment