I have configured nexus Remote Repository as central Repository. My settings.xml looks like below
<mirror>
<id>nexus</id>
<name>central</name>
<url>http://10.220.110.10:8081/repository/halosys-group/</url>
<mirrorOf>*</mirrorOf>
</mirror>
</mirrors>
The problem now when i ran mvn package i am getting error like below.
Caused by: org.apache.maven.wagon.authorization.AuthorizationException: Authentication failed for http://10.220.110.10:8081/repository/halosys-group/org/apache/maven/plugins/maven-resources-plugin/2.5/maven-resources-plugin-2.5.pom 401 Unauthorized
Please let me know how to fix this issue