Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2
-
None
Description
$ mvn test
for revision 641713 results in:
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-pipeline-impl -Dversion=1.1.0-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.cocoon -DartifactId=cocoon-pipeline-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.cocoon:cocoon-pipeline-components:jar:1.1.0-SNAPSHOT
2) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.cocoon:cocoon-pipeline-components:jar:1.1.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
central (http://repo1.maven.org/maven2)
for revision 641713 results in:
[INFO] Failed to resolve artifact.
Missing:
----------
1) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.1.0-SNAPSHOT
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=org.apache.cocoon -DartifactId=cocoon-pipeline-impl -Dversion=1.1.0-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.cocoon -DartifactId=cocoon-pipeline-impl -Dversion=1.1.0-SNAPSHOT -Dclassifier=tests -Dpackaging=test-jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.apache.cocoon:cocoon-pipeline-components:jar:1.1.0-SNAPSHOT
2) org.apache.cocoon:cocoon-pipeline-impl:test-jar:tests:1.1.0-SNAPSHOT
----------
1 required artifact is missing.
for artifact:
org.apache.cocoon:cocoon-pipeline-components:jar:1.1.0-SNAPSHOT
from the specified remote repositories:
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
central (http://repo1.maven.org/maven2)