THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Your .m2/settings.xml should have something along these lines:
The full apache guide for publishing artifacts can be found at http://www.apache.org/dev/publishing-maven-artifacts.html
Code Block |
---|
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>apache.staging.https</id> <username>XXXXXX</username> <password>YYYYYY</password> </server> </servers> <profiles> <profile> <id>gpg</id> <properties> <gpg.passphrase>XXXXXXX</gpg.passphrase> <!-- gpg.executable should be gpg if a lower version is used for creating the key --> <gpg.executable>gpg2</gpg.executable> </properties> </profile> </profiles> </settings> |
...