Skip to content

Commit 7d9621d

Browse files
committed
Skips deploy of integration tests and sample
1 parent ed93375 commit 7d9621d

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,23 @@
167167
</build>
168168

169169
<profiles>
170+
<profile>
171+
<id>central</id>
172+
<build>
173+
<plugins>
174+
<plugin>
175+
<groupId>org.sonatype.central</groupId>
176+
<artifactId>central-publishing-maven-plugin</artifactId>
177+
<configuration>
178+
<excludeArtifacts>
179+
<artifact>spring-cloud-gateway-integration-tests</artifact>
180+
<artifact>spring-cloud-gateway-sample</artifact>
181+
</excludeArtifacts>
182+
</configuration>
183+
</plugin>
184+
</plugins>
185+
</build>
186+
</profile>
170187
<profile>
171188
<id>spring</id>
172189
<repositories>

0 commit comments

Comments
 (0)