Skip to content

Commit fc85fba

Browse files
authored
Merge pull request #101 from sbesson/ossrh_eol
Update deployment infrastructure to publish to Central Portal
2 parents ee7fb4c + cceee99 commit fc85fba

1 file changed

Lines changed: 18 additions & 28 deletions

File tree

pom.xml

Lines changed: 18 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -75,26 +75,16 @@
7575
<connection>scm:git:https://github.com/ome/ome-common-java</connection>
7676
<developerConnection>scm:git:git@github.com:ome/ome-common-java</developerConnection>
7777
<tag>HEAD</tag>
78-
<url>http://github.com/ome/ome-common-java</url>
78+
<url>https://github.com/ome/ome-common-java</url>
7979
</scm>
8080
<issueManagement>
8181
<system>Trac</system>
82-
<url>https://trac.openmicroscopy.org/ome</url>
82+
<url>https://github.com/ome/ome-common-java/issues</url>
8383
</issueManagement>
8484
<ciManagement>
8585
<system>Jenkins</system>
8686
<url>https://ci.openmicroscopy.org/</url>
8787
</ciManagement>
88-
<distributionManagement>
89-
<snapshotRepository>
90-
<id>ossrh</id>
91-
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
92-
</snapshotRepository>
93-
<repository>
94-
<id>ossrh</id>
95-
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
96-
</repository>
97-
</distributionManagement>
9888

9989
<dependencies>
10090
<dependency>
@@ -223,11 +213,12 @@
223213
<plugin>
224214
<groupId>org.apache.maven.plugins</groupId>
225215
<artifactId>maven-compiler-plugin</artifactId>
226-
<version>3.7.0</version>
216+
<version>3.14.0</version>
227217
<!-- Require the Java 8 platform. -->
228218
<configuration>
229-
<source>1.8</source>
230-
<target>1.8</target>
219+
<release>8</release>
220+
<source>8</source>
221+
<target>8</target>
231222
</configuration>
232223
</plugin>
233224

@@ -434,24 +425,12 @@
434425
<id>release</id>
435426
<build>
436427
<plugins>
437-
<!-- Stage releases with nexus -->
438-
<plugin>
439-
<groupId>org.sonatype.plugins</groupId>
440-
<artifactId>nexus-staging-maven-plugin</artifactId>
441-
<version>1.6.8</version>
442-
<extensions>true</extensions>
443-
<configuration>
444-
<serverId>ossrh</serverId>
445-
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
446-
<autoReleaseAfterClose>false</autoReleaseAfterClose>
447-
</configuration>
448-
</plugin>
449428

450429
<!-- gpg release signing -->
451430
<plugin>
452431
<groupId>org.apache.maven.plugins</groupId>
453432
<artifactId>maven-gpg-plugin</artifactId>
454-
<version>1.6</version>
433+
<version>3.2.7</version>
455434
<executions>
456435
<execution>
457436
<id>sign-artifacts</id>
@@ -462,6 +441,17 @@
462441
</execution>
463442
</executions>
464443
</plugin>
444+
445+
<plugin>
446+
<groupId>org.sonatype.central</groupId>
447+
<artifactId>central-publishing-maven-plugin</artifactId>
448+
<version>0.8.0</version>
449+
<extensions>true</extensions>
450+
<configuration>
451+
<publishingServerId>central</publishingServerId>
452+
<tokenAuth>true</tokenAuth>
453+
</configuration>
454+
</plugin>
465455
</plugins>
466456
</build>
467457
</profile>

0 commit comments

Comments
 (0)