You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Lochschmied, Alexander" <Al...@Vishay.com> on 2008/06/04 19:00:14 UTC
Building problem
Hello,
This seems like I miss something very obvious, can somebody please help?
svn co http://svn.apache.org/repos/asf/cocoon/trunk
cd trunk
rm -rf ~/.m2/repository
mvn -Dmaven.test.skip=true -P allblocks install
This results in a build error:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[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)
Thanks,
Alexander