Skip to content

Commit

Permalink
Switch publishing to Maven Central
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelmior committed Feb 23, 2024
1 parent ed758fd commit 0a24d7a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 32 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/mvn.yml

This file was deleted.

40 changes: 25 additions & 15 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,6 @@
<build.timestamp>${maven.build.timestamp}</build.timestamp>
<build.number />
</properties>

<distributionManagement>
<snapshotRepository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/michaelmior/bloomfilter</url>
</snapshotRepository>
<repository>
<id>github</id>
<name>GitHub Packages</name>
<url>https://maven.pkg.github.com/michaelmior/bloomfilter</url>
</repository>
</distributionManagement>

<dependencies>
<!-- Test only dependencies -->
Expand Down Expand Up @@ -104,6 +91,20 @@
<groupId>org.eluder.coveralls</groupId>
<artifactId>coveralls-maven-plugin</artifactId>
<version>4.3.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down Expand Up @@ -178,10 +179,19 @@
<goals>deploy</goals>
</configuration>
</plugin>

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.3.1</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
</configuration>
</plugin>
</plugins>
</build>
</profile>

</profiles>

</project>

0 comments on commit 0a24d7a

Please sign in to comment.