You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Jarek Gawor <jg...@gmail.com> on 2007/06/08 08:01:00 UTC

Re: svn commit: r545383 - /geronimo/server/trunk/configs/webservices-common/pom.xml

Lin,

This change removed Sun SAAJ implementation dependency. That
dependency is currently needed and should not be removed (I'm pretty
sure it will break CXF). Also, are all these dependencies really
needed here? For example, anongen, XmlSchema, axis2-java2wsdl, etc.?
This needs to be done very carefully as dependencies in this config
are shared by CXF and Axis2 and it can easily lead to conflicts.

Jarek

On 6/7/07, linsun@apache.org <li...@apache.org> wrote:
> Author: linsun
> Date: Thu Jun  7 20:10:18 2007
> New Revision: 545383
>
> URL: http://svn.apache.org/viewvc?view=rev&rev=545383
> Log:
> remove unnecessary version here.
>
> Modified:
>     geronimo/server/trunk/configs/webservices-common/pom.xml
>
> Modified: geronimo/server/trunk/configs/webservices-common/pom.xml
> URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webservices-common/pom.xml?view=diff&rev=545383&r1=545382&r2=545383
> ==============================================================================
> --- geronimo/server/trunk/configs/webservices-common/pom.xml (original)
> +++ geronimo/server/trunk/configs/webservices-common/pom.xml Thu Jun  7 20:10:18 2007
> @@ -93,8 +93,73 @@
>
>          <!-- default SAAJ 1.3 implementation -->
>          <dependency>
> -            <groupId>com.sun.xml.messaging.saaj</groupId>
> -            <artifactId>saaj-impl</artifactId>
> +            <groupId>org.apache.axis2</groupId>
> +            <artifactId>axis2-saaj</artifactId>
> +        </dependency>
> +
> +           <!-- Adding axis2-saaj dependencies -->
> +        <dependency>
> +            <groupId>org.apache.axis2</groupId>
> +            <artifactId>axis2-kernel</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.axis2</groupId>
> +            <artifactId>axis2-saaj-api</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.ws.commons.axiom</groupId>
> +            <artifactId>axiom-api</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.ws.commons.axiom</groupId>
> +            <artifactId>axiom-dom</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.ws.commons.axiom</groupId>
> +            <artifactId>axiom-impl</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>jaxen</groupId>
> +            <artifactId>jaxen</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>commons-logging</groupId>
> +            <artifactId>commons-logging</artifactId>
> +        </dependency>
> +
> +        <dependency>
> +            <groupId>org.apache.neethi</groupId>
> +            <artifactId>neethi</artifactId>
> +        </dependency>
> +        <dependency>
> +            <groupId>org.apache.ws.commons.schema</groupId>
> +            <artifactId>XmlSchema</artifactId>
> +        </dependency>
> +        <dependency>
> +            <groupId>annogen</groupId>
> +            <artifactId>annogen</artifactId>
> +        </dependency>
> +        <dependency>
> +             <groupId>org.apache.httpcomponents</groupId>
> +             <artifactId>jakarta-httpcore</artifactId>
> +        </dependency>
> +        <dependency>
> +            <groupId>commons-httpclient</groupId>
> +            <artifactId>commons-httpclient</artifactId>
> +        </dependency>
> +        <dependency>
> +            <groupId>commons-codec</groupId>
> +            <artifactId>commons-codec</artifactId>
> +        </dependency>
> +        <dependency>
> +            <groupId>org.apache.axis2</groupId>
> +            <artifactId>axis2-java2wsdl</artifactId>
>          </dependency>
>
>      </dependencies>
>
>
>

Re: svn commit: r545383 - /geronimo/server/trunk/configs/webservices-common/pom.xml

Posted by Ted Kirby <te...@gmail.com>.
On 6/8/07, Jarek Gawor <jg...@gmail.com> wrote:
> Lin,
>
> This change removed Sun SAAJ implementation dependency.

That was the goal, since Sun's saaj-impl references internal Sun
classes found only in Sun JDK.

> That dependency is currently needed and should not be removed (I'm pretty
> sure it will break CXF).

Is there a way things can be configured so that a user could choose a
CXF system or an Axis2 system, like the user can choose Jetty or
Tomcat today?

> Also, are all these dependencies really
> needed here? For example, anongen, XmlSchema, axis2-java2wsdl, etc.?

Yes, otherwise there are ClassNotFoundErrors.

> This needs to be done very carefully as dependencies in this config
> are shared by CXF and Axis2 and it can easily lead to conflicts.

I have no doubt that this must be done carefully!  :-)

Perhaps further discussion on this issue might be conducted as
comments to G3124 https://issues.apache.org/jira/browse/GERONIMO-3124
?

Ted Kirby

> Jarek
>
> On 6/7/07, linsun@apache.org <li...@apache.org> wrote:
> > Author: linsun
> > Date: Thu Jun  7 20:10:18 2007
> > New Revision: 545383
> >
> > URL: http://svn.apache.org/viewvc?view=rev&rev=545383
> > Log:
> > remove unnecessary version here.
> >
> > Modified:
> >     geronimo/server/trunk/configs/webservices-common/pom.xml
> >
> > Modified: geronimo/server/trunk/configs/webservices-common/pom.xml
> > URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webservices-common/pom.xml?view=diff&rev=545383&r1=545382&r2=545383
> > ==============================================================================
> > --- geronimo/server/trunk/configs/webservices-common/pom.xml (original)
> > +++ geronimo/server/trunk/configs/webservices-common/pom.xml Thu Jun  7 20:10:18 2007
> > @@ -93,8 +93,73 @@
> >
> >          <!-- default SAAJ 1.3 implementation -->
> >          <dependency>
> > -            <groupId>com.sun.xml.messaging.saaj</groupId>
> > -            <artifactId>saaj-impl</artifactId>
> > +            <groupId>org.apache.axis2</groupId>
> > +            <artifactId>axis2-saaj</artifactId>
> > +        </dependency>
> > +
> > +           <!-- Adding axis2-saaj dependencies -->
> > +        <dependency>
> > +            <groupId>org.apache.axis2</groupId>
> > +            <artifactId>axis2-kernel</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>org.apache.axis2</groupId>
> > +            <artifactId>axis2-saaj-api</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>org.apache.ws.commons.axiom</groupId>
> > +            <artifactId>axiom-api</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>org.apache.ws.commons.axiom</groupId>
> > +            <artifactId>axiom-dom</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>org.apache.ws.commons.axiom</groupId>
> > +            <artifactId>axiom-impl</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>jaxen</groupId>
> > +            <artifactId>jaxen</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>commons-logging</groupId>
> > +            <artifactId>commons-logging</artifactId>
> > +        </dependency>
> > +
> > +        <dependency>
> > +            <groupId>org.apache.neethi</groupId>
> > +            <artifactId>neethi</artifactId>
> > +        </dependency>
> > +        <dependency>
> > +            <groupId>org.apache.ws.commons.schema</groupId>
> > +            <artifactId>XmlSchema</artifactId>
> > +        </dependency>
> > +        <dependency>
> > +            <groupId>annogen</groupId>
> > +            <artifactId>annogen</artifactId>
> > +        </dependency>
> > +        <dependency>
> > +             <groupId>org.apache.httpcomponents</groupId>
> > +             <artifactId>jakarta-httpcore</artifactId>
> > +        </dependency>
> > +        <dependency>
> > +            <groupId>commons-httpclient</groupId>
> > +            <artifactId>commons-httpclient</artifactId>
> > +        </dependency>
> > +        <dependency>
> > +            <groupId>commons-codec</groupId>
> > +            <artifactId>commons-codec</artifactId>
> > +        </dependency>
> > +        <dependency>
> > +            <groupId>org.apache.axis2</groupId>
> > +            <artifactId>axis2-java2wsdl</artifactId>
> >          </dependency>
> >
> >      </dependencies>
> >
> >
> >
>

Re: svn commit: r545383 - /geronimo/server/trunk/configs/webservices-common/pom.xml

Posted by Lin Sun <li...@gmail.com>.
Hi Jarek,

My bad!  I committed this accidentally.  It has been corrected.

Lin

Jarek Gawor wrote:
> Lin,
> 
> This change removed Sun SAAJ implementation dependency. That
> dependency is currently needed and should not be removed (I'm pretty
> sure it will break CXF). Also, are all these dependencies really
> needed here? For example, anongen, XmlSchema, axis2-java2wsdl, etc.?
> This needs to be done very carefully as dependencies in this config
> are shared by CXF and Axis2 and it can easily lead to conflicts.
> 
> Jarek
> 
> On 6/7/07, linsun@apache.org <li...@apache.org> wrote:
>> Author: linsun
>> Date: Thu Jun  7 20:10:18 2007
>> New Revision: 545383
>>
>> URL: http://svn.apache.org/viewvc?view=rev&rev=545383
>> Log:
>> remove unnecessary version here.
>>
>> Modified:
>>     geronimo/server/trunk/configs/webservices-common/pom.xml
>>
>> Modified: geronimo/server/trunk/configs/webservices-common/pom.xml
>> URL: 
>> http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webservices-common/pom.xml?view=diff&rev=545383&r1=545382&r2=545383 
>>
>> ============================================================================== 
>>
>> --- geronimo/server/trunk/configs/webservices-common/pom.xml (original)
>> +++ geronimo/server/trunk/configs/webservices-common/pom.xml Thu Jun  
>> 7 20:10:18 2007
>> @@ -93,8 +93,73 @@
>>
>>          <!-- default SAAJ 1.3 implementation -->
>>          <dependency>
>> -            <groupId>com.sun.xml.messaging.saaj</groupId>
>> -            <artifactId>saaj-impl</artifactId>
>> +            <groupId>org.apache.axis2</groupId>
>> +            <artifactId>axis2-saaj</artifactId>
>> +        </dependency>
>> +
>> +           <!-- Adding axis2-saaj dependencies -->
>> +        <dependency>
>> +            <groupId>org.apache.axis2</groupId>
>> +            <artifactId>axis2-kernel</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>org.apache.axis2</groupId>
>> +            <artifactId>axis2-saaj-api</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>org.apache.ws.commons.axiom</groupId>
>> +            <artifactId>axiom-api</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>org.apache.ws.commons.axiom</groupId>
>> +            <artifactId>axiom-dom</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>org.apache.ws.commons.axiom</groupId>
>> +            <artifactId>axiom-impl</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>jaxen</groupId>
>> +            <artifactId>jaxen</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>commons-logging</groupId>
>> +            <artifactId>commons-logging</artifactId>
>> +        </dependency>
>> +
>> +        <dependency>
>> +            <groupId>org.apache.neethi</groupId>
>> +            <artifactId>neethi</artifactId>
>> +        </dependency>
>> +        <dependency>
>> +            <groupId>org.apache.ws.commons.schema</groupId>
>> +            <artifactId>XmlSchema</artifactId>
>> +        </dependency>
>> +        <dependency>
>> +            <groupId>annogen</groupId>
>> +            <artifactId>annogen</artifactId>
>> +        </dependency>
>> +        <dependency>
>> +             <groupId>org.apache.httpcomponents</groupId>
>> +             <artifactId>jakarta-httpcore</artifactId>
>> +        </dependency>
>> +        <dependency>
>> +            <groupId>commons-httpclient</groupId>
>> +            <artifactId>commons-httpclient</artifactId>
>> +        </dependency>
>> +        <dependency>
>> +            <groupId>commons-codec</groupId>
>> +            <artifactId>commons-codec</artifactId>
>> +        </dependency>
>> +        <dependency>
>> +            <groupId>org.apache.axis2</groupId>
>> +            <artifactId>axis2-java2wsdl</artifactId>
>>          </dependency>
>>
>>      </dependencies>
>>
>>
>>
>