You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by "Channappa, Prabhuprasad" <PC...@mgmmirage.com> on 2008/02/25 21:35:08 UTC

Help Needed.................

Iam getting the below error while iam running cxfbc component

When I searched for com.sun.xml.bind:jaxb-impl:jar:2.0.5 .. this version
doesn't exist.

  Please help me to get 2.0.5 Version or how to avoid this error.

 

 

Downloading:
http://people.apache.org/repo/m2-incubating-repository/org/apache/w

s/commons/neethi/neethi/2.0/neethi-2.0.jar

Downloading:
http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach

e/ws/commons/neethi/neethi/2.0/neethi-2.0.jar

28K downloaded

[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.myCFX:http-myCXF-su:jbi-service-unit:1.0-SNAPSH

OT

        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.myCFX:http-myCXF-su:jbi-service-unit:1.0-SNAPSHOT

 

from the specified remote repositories:

  apache.snapshots
(http://people.apache.org/repo/m2-snapshot-repository),

  apache-incubating
(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: 2 minutes 58 seconds

[INFO] Finished at: Mon Feb 25 11:28:57 PST 2008

[INFO] Final Memory: 15M/27M

[INFO]
------------------------------------------------------------------------


Re: Help Needed.................

Posted by Chris Custine <cc...@apache.org>.
The JAXB dependencies are a bit of a problem since they are not hosted on
regular maven repositories.  Add the following to your pom.xml in the
repositories section and you should be able to resolve this.

<repository>
    <id>java.net</id>
    <url>http://download.java.net/maven/1</url>
    <layout>legacy</layout>
</repository>

We might need to add this to the cxf bc archetype if you used that to create
the project.

Thanks,
Chris

On Mon, Feb 25, 2008 at 1:35 PM, Channappa, Prabhuprasad <
PChannappa@mgmmirage.com> wrote:

> Iam getting the below error while iam running cxfbc component
>
> When I searched for com.sun.xml.bind:jaxb-impl:jar:2.0.5 .. this version
> doesn't exist.
>
>  Please help me to get 2.0.5 Version or how to avoid this error.
>
>
>
>
>
> Downloading:
> http://people.apache.org/repo/m2-incubating-repository/org/apache/w
>
> s/commons/neethi/neethi/2.0/neethi-2.0.jar
>
> Downloading:
> http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apach
>
> e/ws/commons/neethi/neethi/2.0/neethi-2.0.jar
>
> 28K downloaded
>
> [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.myCFX:http-myCXF-su:jbi-service-unit:1.0-SNAPSH
>
> OT
>
>        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.myCFX:http-myCXF-su:jbi-service-unit:1.0-SNAPSHOT
>
>
>
> from the specified remote repositories:
>
>  apache.snapshots
> (http://people.apache.org/repo/m2-snapshot-repository),
>
>  apache-incubating
> (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: 2 minutes 58 seconds
>
> [INFO] Finished at: Mon Feb 25 11:28:57 PST 2008
>
> [INFO] Final Memory: 15M/27M
>
> [INFO]
> ------------------------------------------------------------------------
>
>