Re: Building Axis2 Clients with Maven
Martin, I put one together that works to build my client; I can send it in if you want it, but I'm not sure what you want it for. It's probably got a lot of unnecessary dependencies in it that I haven't had time to clear out yet. Bjorn On Mar 10, 2008, at 8:16 AM March 10, Martin Gainty wrote: Please forward any/all full working maven configurations to release manager dims? Thanks Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, March 10, 2008 8:21 AM Subject: Re: Building Axis2 Clients with Maven Bjorn, Bjorn Townsend <[EMAIL PROTECTED]> wrote on 03/08/2008 10:07:40 PM: I think there's still some confusion. :) I'm not trying to generate code from a WSDL or build an AAR, I just have a already-generated client that I want to set up as a Maven build rather than an Ant build, and I'm wondering what jars/plugins are required for that. I'm not sure that I understand your request any better, but here goes: The following is an excerpt from the pom I use to generate a client from source that I manually generate from WSDL (Axis2 1.3): org.apache.axis2 axis2 1.3 org.apache.ws.commons.axiom axiom-impl 1.2.5 org.apache.ws.commons.axiom axiom-api 1.2.5 org.apache.ws.commons.axiom axiom-dom 1.2.5 org.apache.ws.commons.schema XmlSchema 1.3.2 stax stax-api 1.0.1 org.codehaus.woodstox wstx-asl 3.2.1 wsdl4j wsdl4j 1.6.1 commons-httpclient commons-httpclient 3.0.1 _ Steven Gruverman IntelliCare, Inc. www.intellicare.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Axis2 Clients with Maven
Please forward any/all full working maven configurations to release manager dims? Thanks Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Monday, March 10, 2008 8:21 AM Subject: Re: Building Axis2 Clients with Maven > Bjorn, > > Bjorn Townsend <[EMAIL PROTECTED]> wrote on 03/08/2008 10:07:40 PM: > > > I think there's still some confusion. :) I'm not trying to generate > > code from a WSDL or build an AAR, I just have a already-generated > > client that I want to set up as a Maven build rather than an Ant > > build, and I'm wondering what jars/plugins are required for that. > > I'm not sure that I understand your request any better, but here goes: > > The following is an excerpt from the pom I use to generate a client from > source that I manually generate from WSDL (Axis2 1.3): > > > > > > > > org.apache.axis2 > axis2 > 1.3 > > > > org.apache.ws.commons.axiom > axiom-impl > 1.2.5 > > > > org.apache.ws.commons.axiom > axiom-api > 1.2.5 > > > org.apache.ws.commons.axiom > axiom-dom > 1.2.5 > > > > org.apache.ws.commons.schema > XmlSchema > 1.3.2 > > > > stax > stax-api > 1.0.1 > > > > org.codehaus.woodstox > wstx-asl > 3.2.1 > > > > wsdl4j > wsdl4j > 1.6.1 > > > > commons-httpclient > commons-httpclient > 3.0.1 > > > > > > > > > > _ > Steven Gruverman > IntelliCare, Inc. > www.intellicare.com > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Axis2 Clients with Maven
Bjorn, Bjorn Townsend <[EMAIL PROTECTED]> wrote on 03/08/2008 10:07:40 PM: > I think there's still some confusion. :) I'm not trying to generate > code from a WSDL or build an AAR, I just have a already-generated > client that I want to set up as a Maven build rather than an Ant > build, and I'm wondering what jars/plugins are required for that. I'm not sure that I understand your request any better, but here goes: The following is an excerpt from the pom I use to generate a client from source that I manually generate from WSDL (Axis2 1.3): org.apache.axis2 axis2 1.3 org.apache.ws.commons.axiom axiom-impl 1.2.5 org.apache.ws.commons.axiom axiom-api 1.2.5 org.apache.ws.commons.axiom axiom-dom 1.2.5 org.apache.ws.commons.schema XmlSchema 1.3.2 stax stax-api 1.0.1 org.codehaus.woodstox wstx-asl 3.2.1 wsdl4j wsdl4j 1.6.1 commons-httpclient commons-httpclient 3.0.1 _ Steven Gruverman IntelliCare, Inc. www.intellicare.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Axis2 Clients with Maven
I think there's still some confusion. :) I'm not trying to generate code from a WSDL or build an AAR, I just have a already-generated client that I want to set up as a Maven build rather than an Ant build, and I'm wondering what jars/plugins are required for that. I appreciate the help! Bjorn On Mar 8, 2008, at 6:01 PM March 8, Upul Godage wrote: The groupId has changed from the documentation, I think. Plugins will be downloaded when needed. They are available. e.g. in http://repo1.maven.org/maven2/org/apache/axis2/ Here is a pom.xml which worked for wsdl2code plugin sometime back. This will generate the code in the generate source phase. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 com.test hello jar 1.0-SNAPSHOT hello http://maven.apache.org junit junit 3.8.1 test org.apache.axis2 axis2-wsdl2code-maven- plugin 1.3 wsdl2code com.test.service To generate the aar, following works directly. mvn org.apache.axis2:axis2-aar-maven-plugin:1.3:aar Check for customizations in the document. Hope this helps. Upul On Sun, Mar 9, 2008 at 12:37 AM, Bjorn Townsend <[EMAIL PROTECTED]> wrote: Upul, Thanks for the response. I'd already found that document -- what I'm interested in is an example of what jars and repositories I need to have in my POM. Or are such POMs generated automatically when using the wsdl2java Maven plugin? Thanks! Bjorn On Mar 8, 2008, at 12:44 AM March 8, Upul Godage wrote: Hi, You can integrate wsdl2java, java2wsdl, aar packaging steps into pom.xmls. See http://ws.apache.org/axis2/tools/index.html Upul On Sat, Mar 8, 2008 at 6:19 AM, Bjorn Townsend <[EMAIL PROTECTED]> wrote: Hello the list, I'm interested in building an Axis2 client project with Maven2, but wsdl2java only outputs an Ant buildfile. Is there any documentation on creating Maven2 POMs for projects that use Axis2? A Google search has not been revealing. If not, what do I need to make sure is in the POM? Thanks, Bjorn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Axis2 Clients with Maven
The groupId has changed from the documentation, I think. Plugins will be downloaded when needed. They are available. e.g. in http://repo1.maven.org/maven2/org/apache/axis2/ Here is a pom.xml which worked for wsdl2code plugin sometime back. This will generate the code in the generate source phase. http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";> 4.0.0 com.test hello jar 1.0-SNAPSHOT hello http://maven.apache.org junit junit 3.8.1 test org.apache.axis2 axis2-wsdl2code-maven-plugin 1.3 wsdl2code com.test.service To generate the aar, following works directly. mvn org.apache.axis2:axis2-aar-maven-plugin:1.3:aar Check for customizations in the document. Hope this helps. Upul On Sun, Mar 9, 2008 at 12:37 AM, Bjorn Townsend <[EMAIL PROTECTED]> wrote: > Upul, > Thanks for the response. I'd already found that document -- what I'm > interested in is an example of what jars and repositories I need to have in > my POM. Or are such POMs generated automatically when using the wsdl2java > Maven plugin? > > Thanks! > > Bjorn > > On Mar 8, 2008, at 12:44 AM March 8, Upul Godage wrote: > > Hi, > > You can integrate wsdl2java, java2wsdl, aar packaging steps into pom.xmls. > See http://ws.apache.org/axis2/tools/index.html > > Upul > > On Sat, Mar 8, 2008 at 6:19 AM, Bjorn Townsend <[EMAIL PROTECTED]> wrote: > > > Hello the list, > > > > I'm interested in building an Axis2 client project with Maven2, but > > wsdl2java only outputs an Ant buildfile. Is there any documentation on > > creating Maven2 POMs for projects that use Axis2? A Google search has > > not been revealing. If not, what do I need to make sure is in the POM? > > > > Thanks, > > Bjorn > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > >
Re: Building Axis2 Clients with Maven
Upul, Thanks for the response. I'd already found that document -- what I'm interested in is an example of what jars and repositories I need to have in my POM. Or are such POMs generated automatically when using the wsdl2java Maven plugin? Thanks! Bjorn On Mar 8, 2008, at 12:44 AM March 8, Upul Godage wrote: Hi, You can integrate wsdl2java, java2wsdl, aar packaging steps into pom.xmls. See http://ws.apache.org/axis2/tools/index.html Upul On Sat, Mar 8, 2008 at 6:19 AM, Bjorn Townsend <[EMAIL PROTECTED]> wrote: Hello the list, I'm interested in building an Axis2 client project with Maven2, but wsdl2java only outputs an Ant buildfile. Is there any documentation on creating Maven2 POMs for projects that use Axis2? A Google search has not been revealing. If not, what do I need to make sure is in the POM? Thanks, Bjorn - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Building Axis2 Clients with Maven
Hi, You can integrate wsdl2java, java2wsdl, aar packaging steps into pom.xmls. See http://ws.apache.org/axis2/tools/index.html Upul On Sat, Mar 8, 2008 at 6:19 AM, Bjorn Townsend <[EMAIL PROTECTED]> wrote: > Hello the list, > > I'm interested in building an Axis2 client project with Maven2, but > wsdl2java only outputs an Ant buildfile. Is there any documentation on > creating Maven2 POMs for projects that use Axis2? A Google search has > not been revealing. If not, what do I need to make sure is in the POM? > > Thanks, > Bjorn > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >