Build Error
Posted: Mon Oct 15, 2012 6:29 pm
Hello,
I am having some difficulties with building logicaldoc from the source. It used to work all well up to now but now when I issue mvn -Dmaven.test.skip=true install it throws a Build Failure. See the following:
[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) com.logicaldoc:logicaldoc-web:war:5.2.1
2) log4j:log4j:jar:1.2.15
3) javax.jms:jms:jar:1.1
2) javax.media:jai-core:jar:1.1.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.media -DartifactId=jai-core -Dversion=1.1.3 -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.media -DartifactId=jai-core -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.logicaldoc:logicaldoc-web:war:5.2.1
2) com.logicaldoc:logicaldoc-core:jar:5.2.1
3) javax.media:jai-core:jar:1.1.3
3) com.sun.media:jai-codec:jar:1.1.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.media -DartifactId=jai-codec -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.media -DartifactId=jai-codec -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.logicaldoc:logicaldoc-web:war:5.2.1
2) com.logicaldoc:logicaldoc-core:jar:5.2.1
3) com.sun.media:jai-codec:jar:1.1.3
----------
3 required artifacts are missing.
for artifact:
com.logicaldoc:logicaldoc-web:war:5.2.1
Could you please assist me to get my Build working again.
Many thanks
I am having some difficulties with building logicaldoc from the source. It used to work all well up to now but now when I issue mvn -Dmaven.test.skip=true install it throws a Build Failure. See the following:
[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) com.logicaldoc:logicaldoc-web:war:5.2.1
2) log4j:log4j:jar:1.2.15
3) javax.jms:jms:jar:1.1
2) javax.media:jai-core:jar:1.1.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=javax.media -DartifactId=jai-core -Dversion=1.1.3 -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.media -DartifactId=jai-core -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.logicaldoc:logicaldoc-web:war:5.2.1
2) com.logicaldoc:logicaldoc-core:jar:5.2.1
3) javax.media:jai-core:jar:1.1.3
3) com.sun.media:jai-codec:jar:1.1.3
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.media -DartifactId=jai-codec -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there:
mvn deploy:deploy-file -DgroupId=com.sun.media -DartifactId=jai-codec -Dversion=1.1.3 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) com.logicaldoc:logicaldoc-web:war:5.2.1
2) com.logicaldoc:logicaldoc-core:jar:5.2.1
3) com.sun.media:jai-codec:jar:1.1.3
----------
3 required artifacts are missing.
for artifact:
com.logicaldoc:logicaldoc-web:war:5.2.1
Could you please assist me to get my Build working again.
Many thanks