Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Maven Setup

As part of the release process, we will upload our artifacts to maven central staging repository and "maven-release-plugin" will do it for you automatically for the most of part. In order to use the plugin, we need to set up the maven config correctly.

Code Block
languagebash
$ vim ~/.m2/settings.xml
# Paste the below text
<settings>
  <servers>
    <server>
      <id>apache.snapshots.https</id>
      <username>{apache LDAP id}</username>
      <password>{apache user password}</password>
    </server>
    <server>
      <id>apache.releases.https</id>
      <username>{apache LDAP id}</username>
      <password>{apache user password}</password>
    </server>
    <server>
      <id>gpg.passphrase</id>
      <passphrase>{gpg key phrase}</passphrase>
    </server>
  </servers>
  <profiles>
    <profile>
      <activation>
        <activeByDefault>true</activeByDefault>
      </activation>
      <properties>
        <gpg.keyname>${GPG_KEY}</gpg.keyname>
      </properties>
    </profile>
  </profiles>
</settings>


Reference

  1. http://plc4x.apache.org/developers/release.html
  2. https://cwiki.apache.org/confluence/display/GOBBLIN/Release+Process

...