Missing repository definition
-----------------------------
Key: CXF-1445
URL: https://issues.apache.org/jira/browse/CXF-1445
Project: CXF
Issue Type: Bug
Components: Build system
Affects Versions: 2.0.4
Reporter: Guillaume Sauthier
Priority: Minor
I wanted to port to Maven our Easybeans/CXF extension.
So I've added a dependency on cxf-api and cxf-rt-transports-http:
<dependency>
<groupId>org.apache.cxf</groupId>
<artifactId>cxf-rt-transports-http</artifactId>
<version>2.0.4-incubating</version>
</dependency>
In my POM, I've got 3 repositories (ow2, ow2-snapshots and
m2-apache-incubating).
But I've got a maven transitive dependency error:
[INFO] Failed to resolve artifact.
Missing:
----------
1) com.sun.xml.bind:jaxb-impl:jar:2.0.5
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.0.5 -Dpackaging=jar -Dfile=/path/to/file
Path to dependency:
1)
org.ow2.easybeans.extensions:easybeans-cxf-extension:jar:1.0.0.RC3-SNAPSHOT
2) org.apache.cxf:cxf-rt-transports-http:jar:2.0.4-incubator
3) org.apache.cxf:cxf-rt-core:jar:2.0.4-incubator
4) com.sun.xml.bind:jaxb-impl:jar:2.0.5
----------
1 required artifact is missing.
AFAIK, the latests JAXB artifacts are not in the
maven2-repository.dev.java.net (http://download.java.net/maven/2) repository
but in a maven1 repository:
http://download.java.net/maven/1.
As a workaround, I've added this repository definition in my own POM, but I
think this legacy repository should be declared in the CXF POM.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.