maven Not authorized , ReasonPhrase:Unauthorized


[ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.5 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-clean-plugin:jar:2.5: Could not transfer artifact org.apache.maven.plugins:maven-clean-plugin:pom:2.5 from/to nexus (http://repository/nexus/content/groups/public/): Not authorized , ReasonPhrase:Unauthorized. -> [Help 1]
[ERROR]

in settings.xml file under C:\Users\username\.m2 you should set the correct password

<servers>
<server>
<id>nexus</id>
<username>test@testsystem</username>
<password><strong>testpass</strong></password>
</server>
</servers>
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s