Closed GoogleCodeExporter closed 8 years ago
argh! Trunk doesn't build for me either:
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
Missing:
----------
1) javax.jms:jms:jar:1.1
Try downloading the file manually from:
http://java.sun.com/products/jms/docs.html
Then, install it using the command:
mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) com.google.code.facebookapi:facebook-java-api:jar:2.1.2-SNAPSHOT
2) log4j:log4j:jar:1.2.15
3) javax.jms:jms:jar:1.1
2) com.sun.jdmk:jmxtools:jar:1.2.1
Try downloading the file manually from:
http://java.sun.com/products/JavaManagement/download.html
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jdmk -DartifactId=jmxtools \
-Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) com.google.code.facebookapi:facebook-java-api:jar:2.1.2-SNAPSHOT
2) log4j:log4j:jar:1.2.15
3) com.sun.jdmk:jmxtools:jar:1.2.1
3) com.sun.jmx:jmxri:jar:1.2.1
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.jmx -DartifactId=jmxri \
-Dversion=1.2.1 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1) com.google.code.facebookapi:facebook-java-api:jar:2.1.2-SNAPSHOT
2) log4j:log4j:jar:1.2.15
3) com.sun.jmx:jmxri:jar:1.2.1
----------
3 required artifacts are missing.
for artifact:
com.google.code.facebookapi:facebook-java-api:jar:2.1.2-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1 minute 29 seconds
[INFO] Finished at: Fri May 15 09:28:37 PDT 2009
[INFO] Final Memory: 38M/80M
[INFO] ------------------------------------------------------------------------
Shouldn't the project build from a clean checkout without having to manually add
jars? Especially the tagged branch (broken for two weeks now)? Do you guys
need
more volunteers?
Original comment by mccann....@gmail.com
on 15 May 2009 at 4:34
Do you have a patch which you'd like applied?
Do you guys need more volunteers?
>> Er, yes. Always.
Original comment by david.j....@googlemail.com
on 30 May 2009 at 5:26
Tom,
After investigation, all the dependencies that you list are Maven dependencies
that
*must* be installed manually due to licensing issues. Sun don't distribute the
.jar
binaries on the repo1.maven.org/maven2 repository. They put pom.xml files on
there,
but they just contain instructions on where to get the files.
Maven tells you what you need to do:
1) javax.jms:jms:jar:1.1
Try downloading the file manually from:
http://java.sun.com/products/jms/docs.html
Then, install it using the command:
mvn install:install-file -DgroupId=javax.jms -DartifactId=jms \
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
If you run 3 of those commands after downloading the required files, the jars
will be
installed in your local repository. There really isn't a way round that without
breaking the Sun distribution licenses. Hopefully, Sun will change their mind
soon
and open source all this stuff so that it can be freely posted.
Original comment by david.j....@googlemail.com
on 31 May 2009 at 9:19
Original comment by david.j....@googlemail.com
on 31 May 2009 at 9:19
Original comment by david.j....@googlemail.com
on 31 May 2009 at 7:47
Fixed by excluding unnecessary dependencies from log4j 1.2.15
Original comment by david.j....@googlemail.com
on 31 May 2009 at 7:48
Original issue reported on code.google.com by
mccann....@gmail.com
on 5 May 2009 at 5:21