cxf-codegen-plugin depends on JABX jaxb-impl Maven artifact, but lacks proper
repository definiton
--------------------------------------------------------------------------------------------------
Key: CXF-637
URL: https://issues.apache.org/jira/browse/CXF-637
Project: CXF
Issue Type: Bug
Components: Build system
Affects Versions: 2.0
Environment: NA
Reporter: Steven E. Harris
Priority: Minor
Trying to build a Maven module of mine that uses cxf-codegen-plugin against a
fairly clean Maven repository produces the following error:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[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.apache.cxf:cxf-codegen-plugin:maven-plugin:2.0-incubator-20070504
.140945-4
2) org.apache.cxf:cxf-tools-wsdlto-databinding-jaxb:jar:2.0-incubator-SN
APSHOT
3) com.sun.xml.bind:jaxb-impl:jar:2.0.5
----------
1 required artifact is missing.
for artifact:
org.apache.cxf:cxf-codegen-plugin:maven-plugin:2.0-incubator-20070504.140945-4
from the specified remote repositories:
apache.incubating (http://people.apache.org/repo/m2-incubating-repository),
apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
springframework.org-snapshots (http://static.springframework.org/maven2-snapsh
ots),
springframework.org (http://static.springframework.org/maven2/),
java.net (https://maven-repository.dev.java.net/repository/),
central (http://repo1.maven.org/maven2)
It looks like the cxf-tools-wsdlto-databinding-jaxb module needs to include an
additonal repository definition for the com.sun.xml.bind groupId, or figure out
whether the version of jaxb-impl it's using disappeared from the central Maven
repository.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.