[INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-dependency-plugin:2.8:copy (default-cli) @ standalone-pom --- [INFO] Configured Artifact: my.test.testapp:APP:001:ear [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.781 s [INFO] Finished at: 2018-02-07T00:31:29-05:00 [INFO] Final Memory: 11M/159M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:copy (default-cli) on project standalone-pom: Unable to find artifact.: Failure to find my.test.testapp:APP:ear:001 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=my.test.testapp -DartifactId=APP -Dversion=001 -Dpackaging=ear -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=my.test.testapp -DartifactId=APP -Dversion=001 -Dpackaging=ear -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] my.test.testapp:APP:ear:001 [ERROR] [ERROR] from the specified remote repositories: [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [ERROR] -> [Help 1]
--
You received this message because you are subscribed to the Google Groups "Nexus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/0685582b-a15c-4d76-9ab4-58f32b90d7e1%40glists.sonatype.com.
For more options, visit https://groups.google.com/a/glists.sonatype.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users...@glists.sonatype.com.
Yes the config is correct.cmd: mvn dependency:get -DremoteRepositories=http://localhost:8082/nexus/content/repositories/releases -DgroupId=my.test.testapp -DartifactId=APP -Dversion=001 -Dpackaging=ear -Dtransitive=falsecmd: mvn dependency:copy -Dartifact=my.test.testapp:APP:001:ear -DoutputDirectory=./Dump/As said if I use SNAPSHOT repo it works without errors.
Artifacts are resolved from the following sources in order:
To unsubscribe from this group and stop receiving emails from it, send an email to nexus-users+unsubscribe@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.
To view this discussion on the web visit https://groups.google.com/a/glists.sonatype.com/d/msgid/nexus-users/aef06de7-1eb2-4261-afa2-91c6b2c38590%40glists.sonatype.com.
To unsubscribe from this group and stop receiving emails from it, send an email to nexus...@glists.sonatype.com.
To post to this group, send email to nexus...@glists.sonatype.com.