I've been getting this build failure in my nightly build scripts for a few
days. Anyone know what I'm doing wrong now?
[INFO] ------------------------------------------------------------------------
[INFO] Building Glassfish JCDI Package
[INFO] task-segment: [install]
[INFO] ------------------------------------------------------------------------
...
[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
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javax.jms -DartifactId=jms -Dversion=1.1
-Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) org.glassfish.packager:glassfish-jcdi:distribution-base-zip:3.0-SNAPSHOT
2) org.jboss.webbeans:webbeans-osgi-bundle:jar:1.0.0.PREVIEW1
3) org.jboss.webbeans:webbeans-spi:jar:1.0.0.PREVIEW1
4) javax.jms:jms:jar:1.1
2) javassist:javassist:jar:3.8.1.GA
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javassist -DartifactId=javassist
-Dversion=3.8.1.GA -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=javassist -DartifactId=javassist
-Dversion=3.8.1.GA -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
-DrepositoryId=[id]
Path to dependency:
1) org.glassfish.packager:glassfish-jcdi:distribution-base-zip:3.0-SNAPSHOT
2) org.jboss.webbeans:webbeans-osgi-bundle:jar:1.0.0.PREVIEW1
3) javassist:javassist:jar:3.8.1.GA
----------
2 required artifacts are missing.
for artifact:
org.glassfish.packager:glassfish-jcdi:distribution-base-zip:3.0-SNAPSHOT
from the specified remote repositories:
hk2gf (
http://maven.glassfish.org/content/groups/glassfish)