Hi,
when I try to build a project that includes camel-cxf from a clean
repository I get the error that maven can“t find
com.sun.xml.bind:jaxb-impl:jar:2.1.6,
com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2,
com.sun.xml.bind:jaxb-xjc:jar:2.1.6
I have found only one repository that holds this versions. The jboss
repository. So I had to include this into my pom.
<repository>
<id>jboss</id>
<name>JBoss</name>
<url>http://repository.jboss.org/maven2</url>
</repository>
Is that expected? I think the libs should be uploaded to the maven
central repo or the sun repo. Or is it possible to depend on other versions
that are available?
Best regards
Christian
--
Christian Schneider
---
http://www.liquid-reality.de
-----
1) com.sun.xml.bind:jaxb-impl:jar:2.1.6
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-impl -Dversion=2.1.6 -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.xml.bind -DartifactId=jaxb-impl -Dversion=2.1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) eu.cschneider:cameltest:jar:1.0.0-SNAPSHOT
2) org.apache.cxf:cxf-rt-core:jar:2.1.1
3) com.sun.xml.bind:jaxb-impl:jar:2.1.6
2) com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.xml.fastinfoset -DartifactId=FastInfoset -Dversion=1.2.2 -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.xml.fastinfoset -DartifactId=FastInfoset -Dversion=1.2.2 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) eu.cschneider:cameltest:jar:1.0.0-SNAPSHOT
2) org.apache.cxf:cxf-rt-core:jar:2.1.1
3) com.sun.xml.fastinfoset:FastInfoset:jar:1.2.2
3) com.sun.xml.bind:jaxb-xjc:jar:2.1.6
Try downloading the file manually from the project website.
Then, install it using the command:
mvn install:install-file -DgroupId=com.sun.xml.bind -DartifactId=jaxb-xjc -Dversion=2.1.6 -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.xml.bind -DartifactId=jaxb-xjc -Dversion=2.1.6 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
Path to dependency:
1) eu.cschneider:cameltest:jar:1.0.0-SNAPSHOT
2) org.apache.camel:camel-cxf:jar:1.4.0
3) org.apache.cxf:cxf-tools-common:jar:2.1.1
4) com.sun.xml.bind:jaxb-xjc:jar:2.1.6