axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Abeyruwan" <samin...@gmail.com>
Subject Re: See how Axis2 guys suggest with Maven integration :)
Date Wed, 21 May 2008 15:53:42 GMT
We encourage you to use *Axis2 1.4*. You might have confused this with Axis
1.x family. Latest release of Axis2 is *Axis2 version 1.4*. Wonder your
fixes can be incorporated to Axis2, thus the Axis2 community can benefited
from it .

Thank you!

Saminda

On Wed, May 21, 2008 at 2:43 PM, <mai.sun@nordea.com> wrote:

>  Hi Saminda,
>
> We'd like to upgrade to Axis 1.4, but we applied some patches to Axis 1.3
> and we're not sure they work with Axis 1.4. Below is a list of changes we
> made:
>
> 1. In Axis2 1.3 all properties from sub-class are added before super-class
> when generating XML response, this causes incompatibility issue with .NET
> 2. We need to have control over xsd:dateTime and xsd:date, so we changed
> the serializer and deserializer for Java Date and Calendar. It's a pain that
> we have to patch Axis2 instead of configuring it as what we did for Axis 1.
>
> Regards,
> Mai Sun
>
>  ------------------------------
> *From:* Sun, Mai
> *Sent:* 20 May 2008 19:59
> *To:* Cabrera, Fernando Álvarez
> *Subject:* See how Axis2 guys suggest with Maven integration :)
>
>
>
>  ------------------------------
> *From:* Saminda Abeyruwan [mailto:samindaa@gmail.com]
> *Sent:* 20 May 2008 16:58
> *To:* axis-dev@ws.apache.org
> *Subject:* Re: How to integrate Axis2 into our project built by Maven
>
> Hi Sun,
>
> At the moment, even with axis2 1.4 release, if user added axis2.jar as a
> dependency, this will not download the dependent jars transitively as the
> pom.xml attached with the axis2.jar doesn't list them.
>
> axis2.jar contains the classes from following modules,
>
> 1. kernel
> 2. addressing
> 3. codegen
> 4. adb
> 5. adb-codegen
> 6. axis2-java2wsdl
> 7. xmlbeans
> 8. clustering
>
> In addition to this there are a lot of module that did not make it to the
> axis2.jar.
>
> As a production stand point, if the project contains the small units of
> axis2 dependencies, it will be very easy to maintain them and patch them if
> needed.
>
> Thus, I would recommend the usage of separate jars for your project rather
> using the axis2.jar itself. This is because it is maintainable and axis2.jar
> doesn't contain classes from all the axis2 modules.
>
> The newest version of axis2 release is 1.4 and it's better that axis2 1.3
> :)
>
> Thank you!
>
> Saminda
>
> On Tue, May 20, 2008 at 5:27 PM, <mai.sun@nordea.com> wrote:
>
>>  Hi Saminda,
>>
>> Thanks for you reply. We're indeed using Maven2 to build WAR. We tried to
>> add the following dependencies in our pom.xml:
>>
>>
>> <dependency>
>>
>> <groupId>org.apache.axis2</groupId>
>>
>> <artifactId>axis2-adb</artifactId>
>>
>> <version>1.3</version>
>>
>> </dependency>
>>
>> <dependency>
>>
>> <groupId>org.apache.axis2</groupId>
>>
>> <artifactId>axis2-kernel</artifactId>
>>
>> <version>1.3</version>
>>
>> </dependency>
>> It only downloads the mininal jars for Axis2. What if we want to get a
>> full version of Axis2? Is it just a matter of adding all sub modules from
>> Axis2?
>>
>> Thanks a lot!
>>
>> Best wishes,
>> Mai Sun
>>
>>
>>  ------------------------------
>> *From:* Saminda Abeyruwan [mailto:samindaa@gmail.com]
>> *Sent:* 19 May 2008 20:32
>> *To:* axis-dev@ws.apache.org
>> *Subject:* Re: How to integrate Axis2 into our project built by Maven
>>
>>   Hi Sun,
>>
>> I believe you are using Maven2 to create the WAR distribution. If you are
>> using Maven 1.x, we would recommend you to switch to Maven2 instead.
>>
>> What you need in this case is Maven2 and war plugin. You only need to
>> provide the axis2 dependencies in you pom.xml and rest will be take care by
>> Manven2 with as transitive dependencies.
>>
>> With minimum dependencies of axis2-kernel and axis2-adb you'll be able to
>> build the WAR distribution as you pleased using Maven2
>>
>> Thank you!
>>
>> Saminda
>>
>> On Mon, May 19, 2008 at 8:06 PM, <mai.sun@nordea.com> wrote:
>>
>>>
>>> Hi,
>>>
>>> We're developing Axis2 based webservice and it works great, but now we
>>> plan to build the WAR by using Maven instead of Ant. In the Axis2 1.3
>>> distribution there are 60 jars, do we need to declare dependencies of all
>>> these jar in our project or is there any easy way to get around this?
>>>
>>> Any suggestion is appreciated.
>>>
>>> Best wishes,
>>> Mai Sun
>>>
>>
>>
>>
>> --
>> Saminda Abeyruwan
>>
>> Senior Software Engineer
>> WSO2 Inc. - www.wso2.org
>>
>
>
>
> --
> Saminda Abeyruwan
>
> Senior Software Engineer
> WSO2 Inc. - www.wso2.org
>



-- 
Saminda Abeyruwan

Senior Software Engineer
WSO2 Inc. - www.wso2.org

Mime
View raw message