Skip to content

Commit

Permalink
Activate sonatype central deployment by profile.
Browse files Browse the repository at this point in the history
Given instability of deployment path this is a safety valve to bring old fashion maven deploy plugin.

Signed-off-by: Łukasz Dywicki <[email protected]>
  • Loading branch information
splatch committed Jan 28, 2024
1 parent 7ed9eb1 commit b730528
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,22 @@
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>release-sonatype-central</id>

<activation>
<property>
<name>release</name>
<value>true</value>
</property>
</activation>

<build>
<plugins>
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
Expand Down

0 comments on commit b730528

Please sign in to comment.