Hi Everyone, Attached are maven ejb, war and ear plugin patches, based on a 2 weeks old discussion on maven-users (titled 'j2ee workflow' if I remember correctly). I was hoping to get this emailed earlier but got caught up with other things.
1. ejb patch = the basic idea is to get ejb plugin in line with jar,war,ear plugins (e.g. things like install, install-snapshot deploy, etc). 2. war plugin suggestion - maybe maven.final.name should be used as a basis for the war file name rather than pom.artifactId to be consistent? 2. ear patch = the idea is to be able to package in project's own war or jar file without having to create a whole new POM just for that. Here is a simple example: given the following project.xml extract: <dependencies> <dependency> <id>bla.for.war</id> <version>SNAPSHOT</version> <properties> <war.bundle>true</war.bundle> </properties> </dependency> <dependency> <id>bla.for.ear</id> <version>SNAPSHOT</version> <properties> <ear.bundle>true</ear.bundle> </properties> </dependency> <!-- and a little hack for ejbs until the issue with war/ejb dependencies is fixed --> <dependency> <id>ejb.for.ear</id> <version>SNAPSHOT</version> <properties> <ear.bundle>true</ear.bundle> <bundle.type>ejb</bundle.type> </properties> </dependency> </dependencies> and the following in project.properties: maven.ear.include.project.war=true maven.project.context-root=/test given the above, you could produce a war file, an ear file (as usual) and optionally package in project's own war file (including generating the descriptor). The same logic applies for project's jar file (if any). 4. jboss plugin.properties I've noticed the that JXM deploy/undeploy URL in jboss 3.2 is slightly different from what was originally in the plugin.properties. I was wondering if one of the committers could have a quick look through the attached patches and see if these suggestions are of any use. thanks in advance. dima
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]