I have a Nexus OSS server configured as my Repository. I'm trying to configure the settings.xml to this server and central:
<settings>
<servers>
<server>
<id>nexus</id>
<username>admin</username>
<password>admin123</password>
</server>
</servers>
<mirrors>
<mirror>
<!--This sends everything else to /public -->
<id>nexus</id>
<mirrorOf>*</mirrorOf>
<url>http://localhost:8081/nexus/content/groups/public</url>
</mirror>
</mirrors>
</settings>
In my Nexus Repo (http://localhost:8081/nexus/content/groups/public/) i just have the following files (i uploaded the mylib.jar in thirdparty repo):
archetype-catalog.xml Fri May 27 12:17:45 BRT 2016 25
But when i tried to mvn:install the maven don't find my JAR in Thrid Part repository, i got the error:
The POM for br.com:mylib:jar:2.0 is missing, no dependency information available
central
to point at it again). – Tunakicentral
which is Maven Central and present by default without configuring it with a repository. – Tunaki<repositories>
declaration since you don't need them, then your<mirrorOf>central</mirrorOf>
also, you don't need it and it's confusing. Then you need to make sure thathttp://localhost:8081/nexus/content/groups/public/br/com/mylib/2.0/mylib-2.0.jar
exists. – Tunaki