maven - Local Nexus Server - Mirrors -
i still error:
[error] plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or 1 of dependencies not resolved: failure find org.apache.maven.plugins:maven-resources-plugin :jar:2.6 in http://it-nexus.mydomain:8081/nexus/content/groups/public cached in local repository, resolution not reattempted until update interval of nexus has elapsed or updates forced -> [help 1]
and has mirror configuration:
<mirrors> <mirror> <id>nexus</id> <name>nexus public mirror</name> <url>http://it-nexus.mydomain:8081/nexus/content/groups/public</url> <mirrorof>central</mirrorof> </mirror> </mirrors>
it not clear me how configure mirrors in way can upload artefacts mvn deploy.
it seams me maven looks plugin- artefacts @ plain nexus- server. in opinion should cascaded in way if artefacts not available in local nexus should looked in central. how that?
it's not apparent me need solve this, felt i'd share working example 1 of guys on our team: https://github.com/dulanism/java-test/blob/master/pom.xml
you'll want setup profile similar dulani has done in pom.xml file. setup can publish both releases , snapshots local nexus repository manager.
Comments
Post a Comment