Skip to content

Commit 77855b3

Browse files
committed
work
1 parent 3dba367 commit 77855b3

File tree

1 file changed

+34
-19
lines changed

1 file changed

+34
-19
lines changed

pom.xml

Lines changed: 34 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073

10741074
<build>
10751075
<finalName>${project.artifactId}</finalName>
1076-
<defaultGoal>clean package spring-boot:run</defaultGoal>
1076+
<defaultGoal>clean install spring-boot:run</defaultGoal>
10771077
<pluginManagement>
10781078
<plugins>
10791079
<plugin>
@@ -1297,13 +1297,38 @@
12971297
<groupId>org.springframework.boot</groupId>
12981298
<artifactId>spring-boot-maven-plugin</artifactId>
12991299
<configuration>
1300+
<layout>JAR</layout>
13001301
<executable>true</executable>
13011302
<addResources>true</addResources>
1303+
<excludeGroupIds>org.eclipse.aether,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby,com.vladsch.flexmark,org.apache.maven.doxia,org.codehaus.plexus,org.apache.maven.scm,io.netty,org.apache.groovy,org.eclipse.jetty,org.mockito,org.asciidoctor,com.github.jnr,org.apache.maven.surefire,org.apache.maven,net.sourceforge.saxon,net.sf.saxon,com.github.spotbugs,org.eclipse.jgit,org.apache.ant,org.apache.velocity,org.junit.jupiter,org.junit.platform,junit,org.mockito,net.sourceforge.pmd,org.eclipse.sisu,org.ow2.asmcom.fasterxml.jackson.module</excludeGroupIds>
13021304
<excludes>
13031305
<exclude>
13041306
<groupId>org.springframework.boot</groupId>
13051307
<artifactId>spring-boot-configuration-processor</artifactId>
13061308
</exclude>
1309+
<!--
1310+
<exclude>
1311+
<groupId>org.springframework.boot</groupId>
1312+
<artifactId>spring-boot-configuration-processor</artifactId>
1313+
</exclude>
1314+
<excludeArtifactIds>
1315+
jboss-transaction-api_1.2_spec,
1316+
byte-buddy-agent,byte-buddy,
1317+
backport9,backport-util-concurrent,
1318+
spring-boot-configuration-processor,
1319+
spring-boot-devtools,
1320+
ganymed-ssh2,maven-toolchain,
1321+
weld-probe-core,antlr,
1322+
bsh,velocity-tools,
1323+
liquibase-core,
1324+
jruby-complete,
1325+
cdi-api,
1326+
lombok,
1327+
jcommander,
1328+
checkstyle,
1329+
plexus-build-api
1330+
</excludeArtifactIds>
1331+
-->
13071332
</excludes>
13081333
</configuration>
13091334
<executions>
@@ -1346,20 +1371,20 @@
13461371
<plugin>
13471372
<groupId>org.apache.maven.plugins</groupId>
13481373
<artifactId>maven-dependency-plugin</artifactId>
1374+
<configuration>
1375+
<includeScope>compile</includeScope>
1376+
<excludeTypes>maven-plugin</excludeTypes>
1377+
<excludeScope>test,provided</excludeScope>
1378+
<excludeGroupIds>org.eclipse.aether,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby,com.vladsch.flexmark,org.apache.maven.doxia,org.codehaus.plexus,org.apache.maven.scm,io.netty,org.apache.groovy,org.eclipse.jetty,org.mockito,org.asciidoctor,com.github.jnr,org.apache.maven.surefire,org.apache.maven,net.sourceforge.saxon,net.sf.saxon,com.github.spotbugs,org.eclipse.jgit,org.apache.ant,org.apache.velocity,org.junit.jupiter,org.junit.platform,junit,org.mockito,net.sourceforge.pmd,org.eclipse.sisu,org.ow2.asmcom.fasterxml.jackson.module, </excludeGroupIds>
1379+
<excludeArtifactIds>jboss-transaction-api_1.2_spec,byte-buddy-agent,byte-buddy,backport9,backport-util-concurrent,spring-boot-configuration-processor,spring-boot-devtools,ganymed-ssh2,maven-toolchain,weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete,cdi-api,lombok,jcommander,checkstyle,plexus-build-api</excludeArtifactIds>
1380+
</configuration>
13491381
<executions>
13501382
<execution>
13511383
<id>copy-dependencies</id>
13521384
<phase>package</phase>
13531385
<goals>
13541386
<goal>copy-dependencies</goal>
13551387
</goals>
1356-
<configuration>
1357-
<includeScope>compile</includeScope>
1358-
<excludeTypes>maven-plugin</excludeTypes>
1359-
<excludeScope>test,provided</excludeScope>
1360-
<excludeGroupIds>org.eclipse.aether,antlr,org.beanshell,org.apache.maven.plugins,org.apache.maven.scm,org.jruby,com.vladsch.flexmark,org.apache.maven.doxia,org.codehaus.plexus,org.apache.maven.scm,io.netty,org.apache.groovy,org.eclipse.jetty,org.mockito,org.asciidoctor,com.github.jnr,org.apache.maven.surefire,org.apache.maven,net.sourceforge.saxon,net.sf.saxon,com.github.spotbugs,org.eclipse.jgit,org.apache.ant,org.apache.velocity,org.junit.jupiter,org.junit.platform,junit,org.mockito,net.sourceforge.pmd,org.eclipse.sisu,org.ow2.asmcom.fasterxml.jackson.module, </excludeGroupIds>
1361-
<excludeArtifactIds>jboss-transaction-api_1.2_spec,byte-buddy-agent,byte-buddy,backport9,backport-util-concurrent,spring-boot-configuration-processor,spring-boot-devtools,ganymed-ssh2,maven-toolchain,weld-probe-core,antlr,bsh,velocity-tools,liquibase-core,jruby-complete,cdi-api,lombok,jcommander,checkstyle,plexus-build-api</excludeArtifactIds>
1362-
</configuration>
13631388
</execution>
13641389
</executions>
13651390
</plugin>
@@ -1505,15 +1530,6 @@
15051530
<groupId>org.springframework.boot</groupId>
15061531
<artifactId>spring-boot-maven-plugin</artifactId>
15071532
<inherited>true</inherited>
1508-
<configuration>
1509-
<addResources>true</addResources>
1510-
<excludes>
1511-
<exclude>
1512-
<groupId>org.springframework.boot</groupId>
1513-
<artifactId>spring-boot-configuration-processor</artifactId>
1514-
</exclude>
1515-
</excludes>
1516-
</configuration>
15171533
</plugin>
15181534
<plugin>
15191535
<groupId>com.dkanejs.maven.plugins</groupId>
@@ -1525,8 +1541,7 @@
15251541
<removeImages>${docker-compose-maven-plugin.removeImages}</removeImages>
15261542
<removeVolumes>true</removeVolumes>
15271543
<ignorePullFailures>true</ignorePullFailures>
1528-
<detachedMode>true</detachedMode>
1529-
</configuration>
1544+
<detachedMode>true</detachedMode> </configuration>
15301545
</plugin>
15311546
<plugin>
15321547
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)