Skip to content

Publish

Vasyl Khrystyuk edited this page Aug 17, 2021 · 5 revisions

https://central.sonatype.org/pages/apache-maven.html

Some instructions:

The jira ticket: https://issues.sonatype.org/browse/OSSRH-65869

The content of maven settings:

<settings>
<servers>
<server>
<id>ossrh</id>
<username>msangel</username>
<password>?????</password>
</server>
</servers>
  <profiles>
    <profile>
      <id>ossrh</id>
      <activation>
        <activeByDefault>false</activeByDefault>
      </activation>
      <properties>
        <gpg.executable>gpg2</gpg.executable>
        <gpg.passphrase>????</gpg.passphrase>
      </properties>
    </profile>
  </profiles>
</settings>

pre-requirements: the maven version should be snapshot

The operation: mvn release:clean release:prepare release:perform -P ossrh

See status on ossrh: s01.oss.sonatype.org

Clone this wiki locally