Get your own customer support community
 

Wrong output text building Apache Shindig as example.

At http://www.sonatype.com/book/referenc... the output says:

1 required artifact is missing.

for artifact:
org.apache.shindig:gadgets:war:1-SNAPSHOT

from the specified remote repositories:
oauth (http://oauth.googlecode.com/svn/code/...),
central (http://central),
apache.snapshots (http://people.apache.org/repo/m2-snap...),
caja (http://google-caja.googlecode.com/svn...)

but my console says:

[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) caja:caja:jar:r2178

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=caja -DartifactId=caja -Dversion=r2178 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=caja -DartifactId=caja -Dversion=r2178 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id
]

Path to dependency:
1) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
2) caja:caja:jar:r2178

2) caja:json_simple:jar:r1

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=caja -DartifactId=json_simple -Dversion=r1 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=caja -DartifactId=json_simple -Dversion=r1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId
=[id]

Path to dependency:
1) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
2) caja:json_simple:jar:r1

3) net.oauth:core:jar:20080621

Try downloading the file manually from the project website.

Then, install it using the command:
mvn install:install-file -DgroupId=net.oauth -DartifactId=core -Dversion=20080621 -Dpackaging=jar -Dfile=/path/to/file

Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=net.oauth -DartifactId=core -Dversion=20080621 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Dreposito
ryId=[id]

Path to dependency:
1) org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT
2) net.oauth:core:jar:20080621

----------
3 required artifacts are missing.

for artifact:
org.apache.shindig:shindig-gadgets:jar:1-SNAPSHOT

from the specified remote repositories:
nexus (http://localhost:8081/nexus/content/g...)

[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 13 seconds
[INFO] Finished at: Wed Aug 27 16:27:42 CEST 2008
[INFO] Final Memory: 17M/31M
[INFO] ------------------------------------------------------------------------

I am using Maven 2.0.9 and Nexus 1.0.0.
 
indifferent I’m in doubt
Inappropriate?
1 person has this problem

The company marked this problem solved.


User_default_medium