Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated mvn deploy commands

...

Double check if your apache credentials are added to your local ~/.m2/settings.xml

Code Block
<settings>
  <servers>
	<server>
      <id>apache.snapshots.https</id>
      <username>your_apache_id</username>
      <password>your_apache_password</password>
    </server>
    <!-- To stage a release of some part of Maven -->
    <server>
      <id>apache.staging.https</id>
      <username>your_apache_id</username>
      <password>your_apache_password</password>
	</server>
  </server>servers>
</settings>

Do a maven deploy from the ozone and hdds projects

Code Block
languagebash
themeRDark
titleUpload Release Artifacts
mvn deploy -Psign -pl \!:hadoop-ozone-dist -DskipTests -Dmaven.javadoc.skip=true
Dbuildhelper.skipAttach

If you are using bash:
mvn deploy -Psign -pl !:hadoop-ozone-dist -DskipTests -Dbuildhelper.skipAttach

Go the the https://repository.apache.org and close the newly created hadoop repository (select the latest one which contains the hadoop in the name)

...

Update the ozone and hadoop sites

This is documented here: How to generate and push ASF web site after HADOOP-14163

The same repository contains both the hadoop and the ozone sub-site.

...