maven - Sonatype Nexus problems downloading jars -
i trying configure sonatype nexus oss application when builds downloads jars respective repositories on web. structure of settings file is:
<settings> <mirrors> <mirror> <!--this sends else /public --> <id>nexus</id> <mirrorof>*</mirrorof> <url>http://localhost:8081/nexus/content/groups/public</url> </mirror> </mirrors> <profiles> <profile> <id>nexus</id> <!--enable snapshots built in central repo direct --> <!--all requests nexus via mirror --> <repositories> <repository> <id>central</id> <url>http://central</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </repository> </repositories> <pluginrepositories> <pluginrepository> <id>central</id> <url>http://central</url> <releases><enabled>true</enabled></releases> <snapshots><enabled>true</enabled></snapshots> </pluginrepository> </pluginrepositories> </profile> </profiles> <activeprofiles> <!--make profile active time --> <activeprofile>nexus</activeprofile> </activeprofiles> </settings>
my application using dynamic jasper had explicitly mention repository in pom as:
<repository> <id>djmaven2</id> <url>http://nexus.fdvs.com.ar/content/groups/public/</url> <name>dynamicjasper public repository</name> </repository>
the respective dependency same was:
<dependency> <groupid>ar.com.fdvs</groupid> <artifactid>dynamicjasper</artifactid> <version>5.0.0</version> </dependency>
without mentioning -s settings.xml build worked perfectly, when passing setting file getting error:
[ error] failed execute goal on project reports: not resolve dependencies project com.ict:reports:jar:2.2.1-snapshot: following artifacts not resolved: com.lowagie:itext:jar:2.1.7.js4, org.olap4j:olap4j:jar:0.9.7.309-js-3, ar.com.fdvs:dynamicjasper:jar:5.0.0: failure find com.lowagie:itext:jar:2.1.7.js4 in http://localhost:8081/nexus/content/groups/public cached in local repository, resolution not reattempted until update interval of nexus has elapsed or updates forced -> [help 1]
i uploaded artifact manually nexus sonatype nexus' 3rd party repositories, did not either.
can suggest going wrong this?
Comments
Post a Comment