pom 配置spring boot 的build plugin

This commit is contained in:
zhouxiunai
2018-12-03 16:07:54 +08:00
parent 2d7be474fa
commit 8767070fdf
2 changed files with 3 additions and 2 deletions
+3
View File
@@ -95,6 +95,9 @@
<plugin> <plugin>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId> <artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<includeSystemScope>true</includeSystemScope>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.spotify</groupId> <groupId>com.spotify</groupId>
@@ -48,7 +48,6 @@ public class ToolTest {
/** /**
* 每种消息类型导出一个xml文件即可 * 每种消息类型导出一个xml文件即可
*/ */
@Test
public void exportOneTypeToJsonFiles() { public void exportOneTypeToJsonFiles() {
List<Cminmsg> lsCmin = (List<Cminmsg>) cminmsgDao.findAll(); List<Cminmsg> lsCmin = (List<Cminmsg>) cminmsgDao.findAll();
Map<String, Cminmsg> mapCminmsg = new HashMap(); Map<String, Cminmsg> mapCminmsg = new HashMap();
@@ -70,7 +69,6 @@ public class ToolTest {
* @throws JsonMappingException * @throws JsonMappingException
* @throws IOException * @throws IOException
*/ */
@Test
public void exportToXmlFiles() throws JsonParseException, JsonMappingException, IOException public void exportToXmlFiles() throws JsonParseException, JsonMappingException, IOException
{ {
List<Cminmsg> lsCmin = (List<Cminmsg>) cminmsgDao.findAll(); List<Cminmsg> lsCmin = (List<Cminmsg>) cminmsgDao.findAll();