Skip to content

Commit eab73a3

Browse files
mimnoclaude
andcommitted
Release version 2.1.0 to Maven Central
- Update version from 2.1-alpha to 2.1.0 - Enable GPG signing for Maven Central releases - Add central-publishing-maven-plugin for new Central Portal - Remove deprecated OSSRH distribution management Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent c935d0c commit eab73a3

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

pom.xml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>cc.mallet</groupId>
66
<artifactId>mallet</artifactId>
7-
<version>2.1-alpha</version>
7+
<version>2.1.0</version>
88
<packaging>jar</packaging>
99
<name>MAchine Learning for LanguagE Toolkit (MALLET)</name>
1010
<description>
@@ -135,11 +135,11 @@
135135
</executions>
136136
</plugin>
137137

138-
<!-- disable signing in order to simplify integration with TravisCI
138+
<!-- GPG signing for Maven Central -->
139139
<plugin>
140140
<groupId>org.apache.maven.plugins</groupId>
141141
<artifactId>maven-gpg-plugin</artifactId>
142-
<version>1.5</version>
142+
<version>3.2.7</version>
143143
<executions>
144144
<execution>
145145
<id>sign-artifacts</id>
@@ -150,7 +150,19 @@
150150
</execution>
151151
</executions>
152152
</plugin>
153-
-->
153+
154+
<!-- Maven Central Portal Publishing -->
155+
<plugin>
156+
<groupId>org.sonatype.central</groupId>
157+
<artifactId>central-publishing-maven-plugin</artifactId>
158+
<version>0.6.0</version>
159+
<extensions>true</extensions>
160+
<configuration>
161+
<publishingServerId>central</publishingServerId>
162+
<autoPublish>true</autoPublish>
163+
<waitUntil>published</waitUntil>
164+
</configuration>
165+
</plugin>
154166

155167
<!-- Copy dependencies for bin/mallet script -->
156168
<plugin>
@@ -215,16 +227,6 @@
215227
</dependency>
216228
</dependencies>
217229

218-
<distributionManagement>
219-
<snapshotRepository>
220-
<id>ossrh</id>
221-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
222-
</snapshotRepository>
223-
<repository>
224-
<id>ossrh</id>
225-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
226-
</repository>
227-
</distributionManagement>
228230

229231
<profiles>
230232
<profile>

0 commit comments

Comments
 (0)