Skip to content

Commit a7449c5

Browse files
committed
Do not attach executable jars so they are not deployed
1 parent c3800cc commit a7449c5

File tree

1 file changed

+9
-0
lines changed
  • spring-cloud-kubernetes-controllers

1 file changed

+9
-0
lines changed

spring-cloud-kubernetes-controllers/pom.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
<profiles>
3232
<profile>
3333
<id>executable</id>
34+
<activation>
35+
<property>
36+
<name>!skipExecutable</name>
37+
</property>
38+
</activation>
3439
<build>
3540
<plugins>
3641
<plugin>
@@ -59,6 +64,8 @@
5964
</goals>
6065
<configuration>
6166
<classifier>exec</classifier>
67+
<!-- DO NOT attach the executable JAR - this prevents deployment -->
68+
<attach>false</attach>
6269
</configuration>
6370
</execution>
6471
<execution>
@@ -67,6 +74,8 @@
6774
</goals>
6875
<configuration>
6976
<classifier>exec</classifier>
77+
<!-- DO NOT attach the executable JAR - this prevents deployment -->
78+
<attach>false</attach>
7079
</configuration>
7180
</execution>
7281
</executions>

0 commit comments

Comments
 (0)