I've got some trouble using Nexus and Maven.
When I try to build projects with Maven using the Nexus, Maven is not able to find any artifact. I added this to the Maven Settings:
<mirror>
<id>nexus</id>
<url>http://localhost:6060/nexus/content/groups/public</url>
<mirrorOf>central</mirrorOf>
</mirror>
to connect Maven with the Nexus.
The Maven central repo is also defined in the Nexus settings
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…