You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Jacob Marcus <ja...@gmail.com> on 2007/08/22 18:57:09 UTC

Maven build issue, (missing jaxb-impl:jar:2.0.5)

Hi all,

Has anyone seen this problem before?

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:
          -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file \
           -Durl=[url] -DrepositoryId=[id]

  Path to dependency:
        1) com.ironmountain.digital.erm.irmrap.cl:soap:jar:1.0-SNAPSHOT
        2) org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0.1-incubator
        3) org.apache.cxf:cxf-rt-core:jar:2.0.1-incubator
        4) com.sun.xml.bind:jaxb-impl:jar:2.0.5

I am using the following dependencies.

<dependency>
		<groupId>org.apache.cxf</groupId>
		<artifactId>
cxf-rt-frontend-jaxws</artifactId>
		<version>2.0-incubator</version>
	</dependency>

	<dependency>
		<groupId>org.apache.cxf</groupId>
		<artifactId>
cxf-rt-transports-http</artifactId>
		<version>2.0-incubator</version>
	</dependency>


Thanks,
Jacob

Re: Maven build issue, (missing jaxb-impl:jar:2.0.5)

Posted by Daniel Kulp <dk...@apache.org>.

Add:
    <repositories>
        <repository>
            <id>java.net</id>
            <url>http://download.java.net/maven/1/</url>
            <layout>legacy</layout>
        </repository>
    </repositories>
That should then find it.


One more note:   2.0.1-incubator was released.    You should probably 
update to the newer version.

Dan




On Wednesday 22 August 2007, Jacob Marcus wrote:
> Hi all,
>
> Has anyone seen this problem before?
>
> 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:
>           -Dversion=2.0.5 -Dpackaging=jar -Dfile=/path/to/file \
>            -Durl=[url] -DrepositoryId=[id]
>
>   Path to dependency:
>         1)
> com.ironmountain.digital.erm.irmrap.cl:soap:jar:1.0-SNAPSHOT 2)
> org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.0.1-incubator 3)
> org.apache.cxf:cxf-rt-core:jar:2.0.1-incubator
>         4) com.sun.xml.bind:jaxb-impl:jar:2.0.5
>
> I am using the following dependencies.
>
> <dependency>
> 		<groupId>org.apache.cxf</groupId>
> 		<artifactId>
> cxf-rt-frontend-jaxws</artifactId>
> 		<version>2.0-incubator</version>
> 	</dependency>
>
> 	<dependency>
> 		<groupId>org.apache.cxf</groupId>
> 		<artifactId>
> cxf-rt-transports-http</artifactId>
> 		<version>2.0-incubator</version>
> 	</dependency>
>
>
> Thanks,
> Jacob



-- 
J. Daniel Kulp
Principal Engineer
IONA
P: 781-902-8727    C: 508-380-7194
daniel.kulp@iona.com
http://www.dankulp.com/blog