Skip to content

Commit

Permalink
Configure central-publishing-maven-plugin manually (#1080)
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet authored Sep 28, 2024
1 parent 6f4422c commit 1ee3d61
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -702,13 +702,33 @@
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.1.1</version>
<executions>
<execution>
<id>default-deploy</id>
<phase>none</phase>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
<executions>
<execution>
<id>publish-to-central</id>
<goals>
<goal>publish</goal>
</goals>
<phase>deploy</phase>
<configuration>
<publishingServerId>central</publishingServerId>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
Expand Down

0 comments on commit 1ee3d61

Please sign in to comment.