Skip to content

Commit e48ded0

Browse files
ryanjbaxterolegz
authored andcommitted
Skip publishing to maven central for integration tests
1 parent add9b78 commit e48ded0

File tree

1 file changed

+16
-7
lines changed
  • core/spring-cloud-stream-integration-tests

1 file changed

+16
-7
lines changed

core/spring-cloud-stream-integration-tests/pom.xml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,23 @@
109109
<skip>true</skip>
110110
</configuration>
111111
</plugin>
112-
<plugin>
113-
<groupId>org.sonatype.central</groupId>
114-
<artifactId>central-publishing-maven-plugin</artifactId>
115-
<configuration>
116-
<skipPublishing>true</skipPublishing>
117-
</configuration>
118-
</plugin>
119112
</plugins>
120113
</build>
114+
<profiles>
115+
<profile>
116+
<id>central</id>
117+
<build>
118+
<plugins>
119+
<plugin>
120+
<groupId>org.sonatype.central</groupId>
121+
<artifactId>central-publishing-maven-plugin</artifactId>
122+
<configuration>
123+
<skipPublishing>true</skipPublishing>
124+
</configuration>
125+
</plugin>
126+
</plugins>
127+
</build>
128+
</profile>
129+
</profiles>
121130

122131
</project>

0 commit comments

Comments
 (0)