On Thursday 16 October 2008 15:38:44 Deepal Jayasinghe wrote:
> > Sorry I did not explained myself...
>
> No problem
>
> > I want to accomplish two things:
> > 1. generate a project structure for ws development (using a maven
> > archetype perhaps)
>
> For that I think you need to read maven2 user guide.
Let me rephrase this part:
Usually, when starting a new project, I use 
mvn archetype:create \
-DarchetypeGroupId=somegroup \
-DarchetypeArtifactId=someartifact \
-DarchetypeVersion=someversion \
-DgroupId=mygroupid\
-DartifactId=myartifact

And this creates a directory with a pom.xml, src, etc that depends on the 
archetype. For example, for struts2, it creates a basic 
src/resources/struts.xml and many other config files used by struts2

Whenever I create a new WS developing project, I usually unpack the axis2 war, 
because it has the web.xml with the appropiate servlet configuration.

I was wondering if there is an archetype for axis2, so the developer doesn't 
have to create an conf/axis2.xml, web.xml, etc.

>
> > 2. automatically generate sources,
>
> Axis2 does that , have a look at integration module of Axis2 (I mean
> pom.xml)
>
> > compile classes,
>
> Same integration module
>
> >  pack AAR, pack a WAR so I
>
> There is a maven war plugin , look at Axis2 distribution module.
>
> Deepal
>
> > can deploy this WAR in a webserver or test it with jetty.
> >
> > Thank you
> >
> > On Thursday 16 October 2008 14:18:22 Deepal jayasinghe wrote:
> >>> Hello all,
> >>>
> >>> I am thinking on migrating the project management of my webservices
> >>> projects from ant to maven2. Does anyone have experience with maven2
> >>> and axis2? I can't find an archetype for WebServices (server-side)
> >>> using axis2. Should I use a standard webapp archetype?
> >>> What I found is a plugin that generates AAR files
> >>> (http://ws.apache.org/axis2/tools/1_4_1/maven-plugins/maven-aar-plugin.
> >>>ht ml) and a code generation plugin
> >>> (http://ws.apache.org/axis2/tools/1_4_1/maven-
> >>> plugins/maven-wsdl2code-plugin.html)
> >>
> >> Those plugins are to create service and module archives. But I do not
> >> fully understand your problem , what really you trying to do ?
> >>
> >> Thank you!
> >> Deepal
> >>
> >>> Thank you

-- 
David Ojeda



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to