Skip to content

Commit 1a91340

Browse files
committed
work
1 parent f5bd814 commit 1a91340

File tree

2 files changed

+23
-12
lines changed

2 files changed

+23
-12
lines changed

pom.xml

Lines changed: 23 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1201,19 +1201,34 @@
12011201
</reporting>
12021202

12031203
<profiles>
1204-
12051204
<profile>
1206-
<id>test</id>
1205+
<id>run</id>
1206+
<properties>
1207+
<skipTests>true</skipTests>
1208+
<skipIntegrationTests>true</skipIntegrationTests>
1209+
</properties>
1210+
<build>
1211+
<finalName>${project.artifactId}</finalName>
1212+
<defaultGoal>clean install spring-boot:run</defaultGoal>
1213+
</build>
1214+
</profile>
1215+
<profile>
1216+
<id>build</id>
1217+
<activation>
1218+
<activeByDefault>false</activeByDefault>
1219+
</activation>
12071220
<properties>
12081221
<skipTests>false</skipTests>
1209-
<skipIntegrationTests>false</skipIntegrationTests>
1222+
<skip.unit.tests>false</skip.unit.tests>
1223+
<skip.integration.tests>false</skip.integration.tests>
12101224
</properties>
12111225
<build>
12121226
<finalName>${project.artifactId}</finalName>
1213-
<defaultGoal>clean dependency:list install spring-boot:repackage</defaultGoal>
1227+
<defaultGoal>
1228+
clean dependency:purge-local-repository dependency:resolve dependency:resolve-plugins dependency:sources install spring-boot:repackage site site:deploy site:jar source:test-jar source:jar javadoc:jar javadoc:test-jar
1229+
</defaultGoal>
12141230
</build>
12151231
</profile>
1216-
12171232
<profile>
12181233
<id>war</id>
12191234
<properties>
@@ -1222,11 +1237,11 @@
12221237
</properties>
12231238
<build>
12241239
<finalName>${project.artifactId}</finalName>
1225-
<defaultGoal>clean dependency:list install spring-boot:repackage</defaultGoal>
1240+
<defaultGoal>
1241+
clean dependency:purge-local-repository dependency:resolve dependency:resolve-plugins dependency:sources install spring-boot:repackage site site:deploy site:jar source:test-jar source:jar javadoc:jar javadoc:test-jar
1242+
</defaultGoal>
12261243
</build>
12271244
</profile>
1228-
1229-
12301245
<profile>
12311246
<id>uml</id>
12321247
<properties>
@@ -1295,6 +1310,5 @@
12951310
</plugins>
12961311
</build>
12971312
</profile>
1298-
12991313
</profiles>
13001314
</project>

site.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)