Skip to content

Commit 59dfd1b

Browse files
committed
Exclude spring-cloud-contract-stub-runner-kafka from publishing.
Signed-off-by: Olga Maciaszek-Sharma <[email protected]>
1 parent 73cd3c1 commit 59dfd1b

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

pom.xml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@
3535
<spring-cloud-commons.version>4.1.6-SNAPSHOT</spring-cloud-commons.version>
3636
<jopt-simple.version>5.0.4</jopt-simple.version>
3737
<cglib.version>3.3.0</cglib.version>
38-
<spock-spring.version>2.3-groovy-4.0</spock-spring.version> <!-- @releaser:version-check-off -->
38+
<spock-spring.version>2.3-groovy-4.0
39+
</spock-spring.version> <!-- @releaser:version-check-off -->
3940
<hoverfly-junit.version>0.2.2</hoverfly-junit.version>
4041
<commons-text.version>1.11.0</commons-text.version>
4142
<handlebars.version>4.3.1</handlebars.version>
@@ -49,7 +50,8 @@
4950
<junit-vintage.version>5.10.1</junit-vintage.version>
5051
<junit-jupiter.version>5.9.1</junit-jupiter.version>
5152
<gmavenplus-plugin.version>1.13.0</gmavenplus-plugin.version>
52-
<maven-surefire-plugin.version>3.2.5</maven-surefire-plugin.version> <!-- @releaser:version-check-off -->
53+
<maven-surefire-plugin.version>3.2.5
54+
</maven-surefire-plugin.version> <!-- @releaser:version-check-off -->
5355
<awaitility.version>4.2.0</awaitility.version>
5456
<artemis.version>2.31.2</artemis.version>
5557
<testcontainers.version>1.19.8</testcontainers.version>
@@ -414,9 +416,9 @@
414416
</dependency>
415417
<dependency>
416418
<groupId>org.sonatype.sisu</groupId>
417-
<artifactId>sisu-inject-plexus</artifactId>
419+
<artifactId>sisu-inject-plexus</artifactId>
418420
<version>${sisu-inject-plexus.version}</version>
419-
</dependency>
421+
</dependency>
420422
<dependency>
421423
<groupId>org.apache.maven.resolver</groupId>
422424
<artifactId>maven-resolver</artifactId>
@@ -632,7 +634,9 @@
632634
<repository>
633635
<id>netflix-candidates</id>
634636
<name>Netflix Candidates</name>
635-
<url>https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-candidates</url>
637+
<url>
638+
https://artifactory-oss.prod.netflix.net/artifactory/maven-oss-candidates
639+
</url>
636640
<snapshots>
637641
<enabled>false</enabled>
638642
</snapshots>
@@ -731,6 +735,22 @@
731735
</plugins>
732736
</build>
733737
</profile>
738+
<profile>
739+
<id>central</id>
740+
<build>
741+
<plugins>
742+
<plugin>
743+
<groupId>org.sonatype.central</groupId>
744+
<artifactId>central-publishing-maven-plugin</artifactId>
745+
<configuration>
746+
<excludeArtifacts>
747+
<artifact>spring-cloud-contract-stub-runner-kafka</artifact>
748+
</excludeArtifacts>
749+
</configuration>
750+
</plugin>
751+
</plugins>
752+
</build>
753+
</profile>
734754
</profiles>
735755

736756
</project>

0 commit comments

Comments
 (0)