Skip to content

Commit 98e6b5b

Browse files
committed
work
1 parent d514154 commit 98e6b5b

File tree

1 file changed

+97
-0
lines changed

1 file changed

+97
-0
lines changed

pom.xml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1198,4 +1198,101 @@
11981198
</plugins>
11991199
</reporting>
12001200

1201+
<profiles>
1202+
1203+
<profile>
1204+
<id>test</id>
1205+
<properties>
1206+
<skipTests>false</skipTests>
1207+
<skipIntegrationTests>false</skipIntegrationTests>
1208+
</properties>
1209+
<build>
1210+
<finalName>${project.artifactId}</finalName>
1211+
<defaultGoal>clean dependency:list install spring-boot:repackage</defaultGoal>
1212+
</build>
1213+
</profile>
1214+
1215+
<profile>
1216+
<id>war</id>
1217+
<properties>
1218+
<skipTests>true</skipTests>
1219+
<skipIntegrationTests>true</skipIntegrationTests>
1220+
</properties>
1221+
<build>
1222+
<finalName>${project.artifactId}</finalName>
1223+
<defaultGoal>clean dependency:list install spring-boot:repackage</defaultGoal>
1224+
</build>
1225+
</profile>
1226+
1227+
1228+
<profile>
1229+
<id>uml</id>
1230+
<properties>
1231+
<skipTests>true</skipTests>
1232+
<skipIntegrationTests>true</skipIntegrationTests>
1233+
</properties>
1234+
<dependencyManagement>
1235+
<dependencies>
1236+
<dependency>
1237+
<groupId>com.github.funthomas424242</groupId>
1238+
<artifactId>plantuml-maven-plugin</artifactId>
1239+
<version>${version.plantuml-maven-plugin}</version>
1240+
<type>maven-plugin</type>
1241+
<exclusions>
1242+
<exclusion>
1243+
<groupId>javax.enterprise</groupId>
1244+
<artifactId>cdi-api</artifactId>
1245+
</exclusion>
1246+
</exclusions>
1247+
</dependency>
1248+
<dependency>
1249+
<groupId>net.sourceforge.plantuml</groupId>
1250+
<artifactId>plantuml</artifactId>
1251+
<version>${version.net.sourceforge.plantuml}</version>
1252+
<scope>runtime</scope>
1253+
</dependency>
1254+
</dependencies>
1255+
</dependencyManagement>
1256+
<dependencies>
1257+
<dependency>
1258+
<groupId>com.github.funthomas424242</groupId>
1259+
<artifactId>plantuml-maven-plugin</artifactId>
1260+
<type>maven-plugin</type>
1261+
</dependency>
1262+
<dependency>
1263+
<groupId>net.sourceforge.plantuml</groupId>
1264+
<artifactId>plantuml</artifactId>
1265+
<scope>runtime</scope>
1266+
</dependency>
1267+
</dependencies>
1268+
<build>
1269+
<defaultGoal>clean com.github.funthomas424242:plantuml-maven-plugin:generate</defaultGoal>
1270+
<plugins>
1271+
<plugin>
1272+
<groupId>com.github.funthomas424242</groupId>
1273+
<artifactId>plantuml-maven-plugin</artifactId>
1274+
<version>${version.plantuml-maven-plugin}</version>
1275+
<configuration>
1276+
<truncatePattern>src/main/*</truncatePattern>
1277+
<sourceFiles>
1278+
<directory>${basedir}</directory>
1279+
<includes>
1280+
<include>src/main/plantuml/**/*.puml</include>
1281+
</includes>
1282+
</sourceFiles>
1283+
</configuration>
1284+
<dependencies>
1285+
<dependency>
1286+
<groupId>net.sourceforge.plantuml</groupId>
1287+
<artifactId>plantuml</artifactId>
1288+
<version>${version.net.sourceforge.plantuml}</version>
1289+
<scope>runtime</scope>
1290+
</dependency>
1291+
</dependencies>
1292+
</plugin>
1293+
</plugins>
1294+
</build>
1295+
</profile>
1296+
1297+
</profiles>
12011298
</project>

0 commit comments

Comments
 (0)