[jboss-as7-dev] cant get rid of jetty maven plugin - so lets mavenize JBoss Modules

Bill Burke bburke at redhat.com
Mon Feb 25 20:06:10 EST 2013


On 2/25/2013 7:22 PM, James R. Perkins wrote:
> I'm definitely not opposed to changing the way zip is downloaded and/or
> extracted. It was originally done like this to get something working as
> I wasn't sure how much it was going to be used to be honest. Probably
> not really a good excuse, but it's the reason :-)
>

I'm not sure how much more you could have done given the limitations of 
both Maven and AS7.  jboss-as-maven-plugin is pretty good right now, its 
just missing a usable auto-download feature.

> I am just getting to release a new version that does have a start and
> shutdown goal so they can be used in integration testing. I do wonder
> though in the cases where these goals were requested why not use
> Arquillian and the reason I got was basically that they added custom
> modules before they run the integration test. This likely could be
> achieved with either ARQ or the maven plugin by defining the JBOSS_HOME.
> The maven config could get rather messy, but it would work for sure.
>

As far as Arquillian, its not only custom modules, but its also the 
nicety of not having to define a WAR structure in code.  More 
importantly, its the overhead of having to learn how to install and use 
the Arquillian API, where a jboss-as-maven-plugin wouldn't require you 
to really learn so much.

> As far as the JBoss Modules part, that's up to David and don't quote me,
> but I think he rejected something like that before. Again though that's
> all up to him.
>

IMO, having maven resource roots just streamlines the whole process of 
moving from development to deployment to distribution instead of each 
phase having their own special way of managing binaries.

I suggested something like this awhile ago, 1 year +.  The suggestion 
was just ignored, but maybe now that I've done some work and am willing 
to do more it will get attention.  My own personal attention span on 
this will be short as I need to decide soon both how I'm going to write 
the examples in my book and also how I'm going to add automated 
integration to the Resteasy build.  Right now, I just can't automate the 
integration testing because it requires a mess of unzip scripts.

-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com


More information about the jboss-as7-dev mailing list