Guys-
Can others successfully build from a clean .m2/repository? I was able
to just last week but now I get this:
[220:~/Code/Java/activemq] ngzax% mvn -Dmaven.test.skip=true install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.activemq:activemq-core:test-jar:tests:5.1-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core -Dversion=5.1-SNAPSHOT -Dclassifier=tests
-Dpackaging=test-jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file
there:
mvn deploy:deploy-file -DgroupId=org.apache.activemq
-DartifactId=activemq-core -Dversion=5.1-SNAPSHOT -Dclassifier=tests
-Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.apache.activemq:activemq-console:jar:5.1-SNAPSHOT
2) org.apache.activemq:activemq-core:test-jar:tests:5.1-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.activemq:activemq-console:jar:5.1-SNAPSHOT
from the specified remote repositories:
repo1.maven (http://repo1.maven.org/maven2/),
central (http://repo1.maven.org/maven2),
apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),
apache.incubating.releases
(http://people.apache.org/repo/m2-incubating-repository)
--
Daryl