Allowed deployments of EAR, WAR or EJB-JAR (only EAR was previously
supported) by adding the <code>jboss:package-ear</code>,
<code>jboss:package-ejb</code> and <code>jboss:package-war</code>
goals. The <code>jboss:package</code> goal has been renamed
<code>jboss:configure</code> and now simply creates a
custom JBoss server configuration (with nothing from the project
deployed in it).
</action>
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113347 13f79535-47bb-0310-9956-ffa450edef68
21 lines
621 B
XML
21 lines
621 B
XML
<!--
|
|
=============================================================================
|
|
Shows how to copy specific jboss config files when using the JBoss plugin.
|
|
=============================================================================
|
|
-->
|
|
<project>
|
|
|
|
<preGoal name="jboss:configure">
|
|
<copy todir="target/appconf">
|
|
<fileset dir="conf/${env.name}/application"/>
|
|
</copy>
|
|
<copy todir="target/jboss/conf">
|
|
<fileset dir="conf/${env.name}/jboss/conf"/>
|
|
</copy>
|
|
<copy todir="target/jboss/deploy">
|
|
<fileset dir="conf/${env.name}/jboss/deploy"/>
|
|
</copy>
|
|
</preGoal>
|
|
|
|
</project>
|