Hello,

I tried to develop WSDL CXF example for ServiceMix. (I made cxf-bc-su, cxf-se-su and cxf-sa)
If I run mvn install, I get this error message:

Do you have any ideas please? thank you.

[INFO] ------------------------------------------------------------------------
[INFO] Building ServiceMix :: CXF WSDL example :: CXF BC
[INFO]    task-segment: [install]
[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: http://people.apache.org/repo/m2-incubating-repository/xml-security
/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/xml-secur
ity/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository//xml-securit
y/xmlsec/1.3.0/xmlsec-1.3.0.pom
Downloading: http://repo1.maven.org/maven2/xml-security/xmlsec/1.3.0/xmlsec-1.3.
0.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/com/sun/xml/
bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.pom
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/com/sun/x
ml/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository//com/sun/xml
/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.pom
Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.0.5/jaxb
-impl-2.0.5.pom
Downloading: http://people.apache.org/repo/m2-incubating-repository/com/sun/xml/
bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar
Downloading: http://people.apache.org/repo/m2-ibiblio-rsync-repository/com/sun/x
ml/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar
Downloading: http://people.apache.org/repo/m2-incubating-repository//com/sun/xml
/bind/jaxb-impl/2.0.5/jaxb-impl-2.0.5.jar
Downloading: http://repo1.maven.org/maven2/com/sun/xml/bind/jaxb-impl/2.0.5/jaxb
-impl-2.0.5.jar
[INFO] ------------------------------------------------------------------------
[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

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.0.5 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[
id]

Path to dependency:
1) org.apache.servicemix.myExamples:my-cxf-bc-su:jbi-service-unit:1.0-SN
APSHOT
      2) org.apache.servicemix:servicemix-cxf-bc:jar:3.2.1
      3) org.apache.cxf:cxf-rt-ws-policy:jar:2.0.2-incubator
      4) org.apache.cxf:cxf-rt-core:jar:2.0.2-incubator
      5) com.sun.xml.bind:jaxb-impl:jar:2.0.5

----------
1 required artifact is missing.

for artifact:

org.apache.servicemix.myExamples:my-cxf-bc-su:jbi-service-unit:1.0-SNAPSHOT

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),
asf-incubator (http://people.apache.org/repo/m2-incubating-repository/),
apache (http://people.apache.org/repo/m2-ibiblio-rsync-repository),
central (http://repo1.maven.org/maven2)


[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Sun Jul 20 09:17:46 CEST 2008
[INFO] Final Memory: 16M/29M
[INFO] ------------------------------------------------------------------------

--
/**************************************/
Best regards / S pozdravem
Vladislav Krejčiřík

http://www.vkrejcirik.info


Reply via email to