Skip to content

Commit

Permalink
move out central-publishing-maven-plugin from template
Browse files Browse the repository at this point in the history
  • Loading branch information
mucsi96 committed Jul 5, 2024
1 parent cc3c985 commit 062c920
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions src/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,22 @@
<scm>
<url>[email protected]:mucsi96/publish-tools.git</url>
</scm>


<build>
<plugins>
<!-- Central Publishing Plugin -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.5.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</project>
4 changes: 2 additions & 2 deletions src/template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</executions>
</plugin>
<!-- Central Publishing Plugin -->
<plugin>
<!-- <plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.5.0</version>
Expand All @@ -77,7 +77,7 @@
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugin> -->
</plugins>
</build>
</profile>
Expand Down

0 comments on commit 062c920

Please sign in to comment.