Skip to content

Commit 8883f4f

Browse files
authored
Disable deployment of testutils. (#459)
Attempt to get MC deployment skipped for testutils.
1 parent 861331a commit 8883f4f

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

testutil/pom.xml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,23 +68,32 @@
6868
</plugin>
6969
<plugin>
7070
<groupId>org.apache.maven.plugins</groupId>
71-
<artifactId>maven-deploy-plugin</artifactId>
71+
<artifactId>maven-surefire-plugin</artifactId>
7272
<configuration>
73-
<skip>true</skip>
73+
<useModulePath>false</useModulePath>
7474
</configuration>
7575
</plugin>
76+
<!-- Skip everything that has to do with deployment to Maven Central -->
7677
<plugin>
7778
<groupId>org.apache.maven.plugins</groupId>
78-
<artifactId>maven-gpg-plugin</artifactId>
79+
<artifactId>maven-deploy-plugin</artifactId>
7980
<configuration>
8081
<skip>true</skip>
8182
</configuration>
8283
</plugin>
84+
<plugin>
85+
<groupId>org.sonatype.central</groupId>
86+
<artifactId>central-publishing-maven-plugin</artifactId>
87+
<configuration>
88+
<autoPublish>false</autoPublish>
89+
<skipPublishing>true</skipPublishing>
90+
</configuration>
91+
</plugin>
8392
<plugin>
8493
<groupId>org.apache.maven.plugins</groupId>
85-
<artifactId>maven-surefire-plugin</artifactId>
94+
<artifactId>maven-gpg-plugin</artifactId>
8695
<configuration>
87-
<useModulePath>false</useModulePath>
96+
<skip>true</skip>
8897
</configuration>
8998
</plugin>
9099
</plugins>

0 commit comments

Comments
 (0)