blob: 9049da8207b7ed6bd5ef89974d098e80b5bb1718 [file] [log] [blame]
Add this to your {{$HOME/.m2/settings.xml}} to enable publishing to the Apache Nexus repo. This works for snapshots or staging final binaries.
{code:xml|title=.m2/settings.xml}
<settings>
<servers>
<server>
<id>apache.snapshots.https</id>
<username>yourapacheid</username>
<password>yourapachepass</password>
</server>
<server>
<id>apache.releases.https</id>
<username>yourapacheid</username>
<password>yourapachepass</password>
</server>
</servers>
</settings>
{code}
Then publish via:
{code}
$ mvn clean deploy
{code}