pom 配置spring boot 的build plugin
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user