java ee - Maven install missing artifacts -
when make maven clean/install obtain error :
missing:
1) org.apache.maven:maven-archiver:jar:2.0.1
try downloading file manually project website.
then, install using command: mvn install:install-file -dgroupid=org.apache.maven -dartifactid=maven-archiver -dversion=2.0.1 -dpackaging=jar -dfile=/path/to/file
alternatively, if host own repository can deploy file there: mvn deploy:deploy-file -dgroupid=org.apache.maven -dartifactid=maven-archiver -dversion=2.0.1 -dpackaging=jar -dfile=/path/to/file -durl=[url] -drepositoryid=[id]
path dependency: 1) org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.0 2) org.apache.maven:maven-archiver:jar:2.0.1
2) org.codehaus.plexus:plexus-utils:jar:1.0.4
try downloading file manually project website.
then, install using command: mvn install:install-file -dgroupid=org.codehaus.plexus -dartifactid=plexus-utils -dversion=1.0.4 -dpackaging=jar -dfile=/path/to/file
alternatively, if host own repository can deploy file there: mvn deploy:deploy-file -dgroupid=org.codehaus.plexus -dartifactid=plexus-utils -dversion=1.0.4 -dpackaging=jar -dfile=/path/to/file -durl=[url] -drepositoryid=[id]
path dependency: 1) org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.0 2) org.codehaus.plexus:plexus-utils:jar:1.0.4
2 required artifacts missing.
for artifact: org.apache.maven.plugins:maven-war-plugin:maven-plugin:2.0
from specified remote repositories: nexusmirror (http://x.x.x.x:8081/nexus/content/groups/public/)
has idea on how solve this?
thank in andvace
that artifact exists , available maven central (org.apache.maven.maven-archiver 2.0.1). nexus mirror misconfigured. should investigate through nexus web interface , see why it's not fetching artifact central repository.
Comments
Post a Comment