You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by Sagara Gunathunga <sa...@gmail.com> on 2011/12/21 07:36:08 UTC

[Proposal] Improve Axis2 Maven support.

Hi  devs,

We already have set of Maven plug-ins for Axis2 but I think still we have
space to improve maven support. Specially we can introduce set of
archetypes those are very helpful for users. Sometimes ago I have developed
few archetypes for Axis2 and still useful to me and some other people as
well. For Axis2 next major release I will like to propose following Maven
features.


1. ) Set of Maven archetypes.

2.) A new plug-in that allows to run Axis2 Simple HTTP server through Maven
something similar to Jetty plug-in. At the moment if a Maven user want to
use Axis2 Simple HTTP server for testing he has to follow some manual steps
but this proposed plug-in eliminate those manual steps and facilitate to
test Axis2 service within Maven. In a long term goal this enables to use
Simple HTTP server for Maven based unit tests too.


Thanks !







-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

Re: [Proposal] Improve Axis2 Maven support.

Posted by Sagara Gunathunga <sa...@gmail.com>.
On Wed, Dec 21, 2011 at 6:41 PM, Deepal jayasinghe <de...@gmail.com>wrote:

>  On 12/21/2011 1:36 AM, Sagara Gunathunga wrote:
>
> Hi  devs,
>
> We already have set of Maven plug-ins for Axis2 but I think still we have
> space to improve maven support. Specially we can introduce set of
> archetypes those are very helpful for users. Sometimes ago I have developed
> few archetypes for Axis2 and still useful to me and some other people as
> well. For Axis2 next major release I will like to propose following Maven
> features.
>
>
> 1. ) Set of Maven archetypes.
>
>  Could you please elaborate more on this ? like what kinds of archetypes
> ?. Regardless, it is good idea to have these kind of maven plug-ins.
>

  At the moment I'm thinking about two archetypes as follows , we can add
more in future.

 1.)   An archetype to create a simple Axis2 service (AAR)
 2.)   An archetypes to create a simple Axis2 integrated web application
(WAR)

Once we deploy above stuff to maven central repo users can pick up these
artifacts using "archetype:generate" goal on console , then just providing
a groupID/ artifactID /version it will generate runnable axis2 Maven
project with a sample service.  This will eliminate user's issue on finding
proper dependencies/ jar files etc. Also without doing any further steps
they can run and test their first Axis2 service using Jetty or Axis2 server
(proposed) plug-ins that is already configured on project POM file .

By experience we know that people spend lot of time for their first sample
finding required dependencies , proper dependency versions, resolving
dependency mismatches, project configuration issues etc. With this
archetypes it is possible to run first sample within 1 or 2 minutes without
facing any of above issues.

There are more than 500 archetypes already available for Maven users by
various projects. I think we are little late but at least better to provide
such facilities to users now.

Thanks !


>
> Deepal
>
> 2.) A new plug-in that allows to run Axis2 Simple HTTP server through
> Maven something similar to Jetty plug-in. At the moment if a Maven user
> want to use Axis2 Simple HTTP server for testing he has to follow some
> manual steps but this proposed plug-in eliminate those manual steps and
> facilitate to test Axis2 service within Maven. In a long term goal this
> enables to use Simple HTTP server for Maven based unit tests too.
>
>
> Thanks !
>
>
>
>
>
>
>
> --
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> LinkedIn - http://www.linkedin.com/in/ssagara
>
>
>


-- 
Sagara Gunathunga

Blog      - http://ssagara.blogspot.com
Web      - http://people.apache.org/~sagara/
LinkedIn - http://www.linkedin.com/in/ssagara

Re: [Proposal] Improve Axis2 Maven support.

Posted by Deepal jayasinghe <de...@gmail.com>.
On 12/21/2011 1:36 AM, Sagara Gunathunga wrote:
> Hi  devs,
>
> We already have set of Maven plug-ins for Axis2 but I think still we
> have space to improve maven support. Specially we can introduce set of
> archetypes those are very helpful for users. Sometimes ago I have
> developed few archetypes for Axis2 and still useful to me and some
> other people as well. For Axis2 next major release I will like to
> propose following Maven features.
>
>
> 1. ) Set of Maven archetypes.
>
Could you please elaborate more on this ? like what kinds of archetypes
?. Regardless, it is good idea to have these kind of maven plug-ins.

Deepal
> 2.) A new plug-in that allows to run Axis2 Simple HTTP server through
> Maven something similar to Jetty plug-in. At the moment if a Maven
> user want to use Axis2 Simple HTTP server for testing he has to follow
> some manual steps but this proposed plug-in eliminate those manual
> steps and facilitate to test Axis2 service within Maven. In a long
> term goal this enables to use Simple HTTP server for Maven based unit
> tests too.
>
>
> Thanks !  
>         
>        
>         
>    
>  
>
>
> -- 
> Sagara Gunathunga
>
> Blog      - http://ssagara.blogspot.com
> Web      - http://people.apache.org/~sagara/
> <http://people.apache.org/%7Esagara/>
> LinkedIn - http://www.linkedin.com/in/ssagara