Skip to content

Commit fcd83c5

Browse files
Exclude sample modules from Maven Central release (#336)
* Add central-publishing-maven-plugin skip configuration to samples module --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: thomasturrell <1552612+thomasturrell@users.noreply.github.com>
1 parent 053ab60 commit fcd83c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

samples/pom.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@
132132
<skipNexusStagingDeployMojo>true</skipNexusStagingDeployMojo>
133133
</configuration>
134134
</plugin>
135+
<plugin>
136+
<groupId>org.sonatype.central</groupId>
137+
<artifactId>central-publishing-maven-plugin</artifactId>
138+
<configuration>
139+
<!-- Prevent samples from being published to Maven Central -->
140+
<skip>true</skip>
141+
</configuration>
142+
</plugin>
135143
</plugins>
136144
</build>
137145
</project>

0 commit comments

Comments
 (0)