I have a multi-module Maven project. In the ejb module POM for the Seam ejb
components, I added the following xml snippet for the javarebel-maven-plugin
in the build section. The purpose of this plugin is to create a rebel.xml
file in the target\classes directory and finally in the root of the JAR
artifact which is packaged in the EAR.
<build>
<plugins>
<plugin>
<groupId>org.zeroturnaround</groupId>
<artifactId>javarebel-maven-plugin</artifactId>
<version>1.0.5</version>
<executions>
<execution>
<id>generate-rebel-xml</id>
<phase>process-resources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
This build works but I want to configure my POMs such that this build plugin
is optionally used/invoked (some coworkers may not want to use JRebel, for
example). How do I implement this? Using a new profile?
We currently have a dev and continuum profile in the parent POM but I'm not
sure if I should create another profile in the parent POM or the ejb module
POM and exactly how to do it. Any advice appreciated. thx.
--
View this message in context:
http://old.nabble.com/adding-javarebel-maven-plugin-to-ejb-module-pom.xml-tp28300725p28300725.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]