[jboss-as7-dev] module upgrade suggestion

Bill Burke bburke at redhat.com
Tue Oct 25 09:09:41 EDT 2011


A user needed an upgrade to resteasy for JBoss AS 7.  To upgrade it 
though, he has to copy each and every jar to the appropriate directory 
*AND* edit XML files to export the appropriate new jars.

Initially to make the process easier, don't require a <resource/> 
element within module.xml.  If there is none, have the runtime export 
every jar in that directory.

I'd also like to suggest a redesign of the module structure:

1. Have a central module.xml file instead of separating it out into 
multiple module files.

2. Point <resources/> to maven artifacts instead of actual files.

3. Allow configuring of maven repository directory

4. Later on, allow downloading of maven repository directory.

With those two things your directory structure becomes very simplified 
and profiles can be shipped into an even smaller set of files.



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


More information about the jboss-as7-dev mailing list