You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by shaminda perera <ma...@googlemail.com> on 2007/10/19 13:48:31 UTC

maven repo for cxf jars

Hi all..

I need to get all the CXF jars in to my Maven dependancy list..

I have done something like this


<dependency>

<groupId>org.apache.cxf</groupId>

<artifactId>apache-cxf</artifactId>

<version>2.0.1-incubator</version>

</dependency>

but i am not getting the required jars..

someone pls help ,,, i need the correct entry to put in here..

Thanks

RE: maven repo for cxf jars

Posted by Benson Margulies <bi...@basistech.com>.
They have the same effect, but only Aegis looks at the aegis annotation
and only JAXB looks at the first. I've considered making Aegis look at
both.

However, if you are in a position to use @nnotations, why use Aegis?


> -----Original Message-----
> From: shaminda perera [mailto:mahens80@googlemail.com]
> Sent: Friday, October 19, 2007 10:05 AM
> To: cxf-user@incubator.apache.org
> Subject: Re: maven repo for cxf jars
> 
> Thanks Jeff..
> another quick question.
> 
> what is the difference between
> 
> javax.xml.bind.annotation.XmlType
> and
> org.apache.cxf.aegis.type.java5.XmlType
> 
> both are having the same behaviour?
> 
> Thanks
> 
> On 10/19/07, Jeff Yu <je...@iona.com> wrote:
> >
> > Hi,
> >
> > Try this:
> >
> >   <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-rt-core</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >
> >    <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-rt-bindings-soap</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >
> >    <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-rt-frontend-jaxws</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >
> >    <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-tools-common</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >
> >    <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-rt-transports-http</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >    <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-rt-transports-http-jetty</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >    <dependency>
> >        <groupId>org.apache.cxf</groupId>
> >        <artifactId>cxf-rt-ws-security</artifactId>
> >        <version>${cxf.version}</version>
> >    </dependency>
> >
> > Thanks
> > Jeff
> >
> >
> > shaminda perera wrote:
> > > Hi all..
> > >
> > > I need to get all the CXF jars in to my Maven dependancy list..
> > >
> > > I have done something like this
> > >
> > >
> > > <dependency>
> > >
> > > <groupId>org.apache.cxf</groupId>
> > >
> > > <artifactId>apache-cxf</artifactId>
> > >
> > > <version>2.0.1-incubator</version>
> > >
> > > </dependency>
> > >
> > > but i am not getting the required jars..
> > >
> > > someone pls help ,,, i need the correct entry to put in here..
> > >
> > > Thanks
> > >
> > >
> >

Re: maven repo for cxf jars

Posted by shaminda perera <ma...@googlemail.com>.
Thanks Jeff..
another quick question.

what is the difference between

javax.xml.bind.annotation.XmlType
and
org.apache.cxf.aegis.type.java5.XmlType

both are having the same behaviour?

Thanks

On 10/19/07, Jeff Yu <je...@iona.com> wrote:
>
> Hi,
>
> Try this:
>
>   <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-rt-core</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>
>    <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-rt-bindings-soap</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>
>    <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-rt-frontend-jaxws</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>
>    <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-tools-common</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>
>    <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-rt-transports-http</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>    <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-rt-transports-http-jetty</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>    <dependency>
>        <groupId>org.apache.cxf</groupId>
>        <artifactId>cxf-rt-ws-security</artifactId>
>        <version>${cxf.version}</version>
>    </dependency>
>
> Thanks
> Jeff
>
>
> shaminda perera wrote:
> > Hi all..
> >
> > I need to get all the CXF jars in to my Maven dependancy list..
> >
> > I have done something like this
> >
> >
> > <dependency>
> >
> > <groupId>org.apache.cxf</groupId>
> >
> > <artifactId>apache-cxf</artifactId>
> >
> > <version>2.0.1-incubator</version>
> >
> > </dependency>
> >
> > but i am not getting the required jars..
> >
> > someone pls help ,,, i need the correct entry to put in here..
> >
> > Thanks
> >
> >
>

Re: maven repo for cxf jars

Posted by Willem2 <ni...@iona.com>.
Hi 
You also need to add apache incubating maven repository into your pom.xml

<repositories>
    <repository>
      <id>apache.incubating.releases</id>
      <name>Apache Incubating Release Distribution Repository</name>
      <url>http://people.apache.org/repo/m2-incubating-repository</url>
    </repository>   
  </repositories>

Willem.



Jeff Yu wrote:
> 
> Hi,
> 
> Try this:
> 
>    <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-rt-core</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
> 
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-rt-bindings-soap</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
> 
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-rt-frontend-jaxws</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
> 
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-tools-common</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
> 
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-rt-transports-http</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-rt-transports-http-jetty</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
>     <dependency>
>         <groupId>org.apache.cxf</groupId>
>         <artifactId>cxf-rt-ws-security</artifactId>
>         <version>${cxf.version}</version>
>     </dependency>
> 
> Thanks
> Jeff
> 
> 
> shaminda perera wrote:
>> Hi all..
>>
>> I need to get all the CXF jars in to my Maven dependancy list..
>>
>> I have done something like this
>>
>>
>> <dependency>
>>
>> <groupId>org.apache.cxf</groupId>
>>
>> <artifactId>apache-cxf</artifactId>
>>
>> <version>2.0.1-incubator</version>
>>
>> </dependency>
>>
>> but i am not getting the required jars..
>>
>> someone pls help ,,, i need the correct entry to put in here..
>>
>> Thanks
>>
>>   
> 
> 

-- 
View this message in context: http://www.nabble.com/maven-repo-for-cxf-jars-tf4652652.html#a13295158
Sent from the cxf-user mailing list archive at Nabble.com.


Re: maven repo for cxf jars

Posted by Jeff Yu <je...@iona.com>.
Hi,

Try this:

   <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-core</artifactId>
        <version>${cxf.version}</version>
    </dependency>

    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-bindings-soap</artifactId>
        <version>${cxf.version}</version>
    </dependency>

    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-frontend-jaxws</artifactId>
        <version>${cxf.version}</version>
    </dependency>

    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-tools-common</artifactId>
        <version>${cxf.version}</version>
    </dependency>

    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http</artifactId>
        <version>${cxf.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-transports-http-jetty</artifactId>
        <version>${cxf.version}</version>
    </dependency>
    <dependency>
        <groupId>org.apache.cxf</groupId>
        <artifactId>cxf-rt-ws-security</artifactId>
        <version>${cxf.version}</version>
    </dependency>

Thanks
Jeff


shaminda perera wrote:
> Hi all..
>
> I need to get all the CXF jars in to my Maven dependancy list..
>
> I have done something like this
>
>
> <dependency>
>
> <groupId>org.apache.cxf</groupId>
>
> <artifactId>apache-cxf</artifactId>
>
> <version>2.0.1-incubator</version>
>
> </dependency>
>
> but i am not getting the required jars..
>
> someone pls help ,,, i need the correct entry to put in here..
>
> Thanks
>
>