Added feature to add custom lib jars to the JBoss configuration created when using the <code>jboss:configure</code> goal.
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114448 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -92,7 +92,7 @@
|
||||
description="Creates a specific JBoss server configuration"
|
||||
prereqs="jboss:init">
|
||||
|
||||
<!-- Copy the JBoss jars from an existing JBoss default server
|
||||
<!-- Copy the JBoss lib jars from an existing JBoss default server
|
||||
configuration to our specific configuration -->
|
||||
<ant:copy todir="${maven.jboss.build.lib.dir}">
|
||||
<ant:fileset dir="${maven.jboss.default.lib.dir}"
|
||||
@@ -100,6 +100,16 @@
|
||||
excludes="${maven.jboss.default.lib.excludes}"/>
|
||||
</ant:copy>
|
||||
|
||||
<!-- Copy user-specific lib jars defined in project.xml and tagged with
|
||||
<jboss.lib.bundle> -->
|
||||
<j:forEach var="lib" items="${pom.artifacts}">
|
||||
<j:set var="dep" value="${lib.dependency}"/>
|
||||
<j:if test="${dep.getProperty('jboss.lib.bundle') == 'true'}">
|
||||
<ant:echo>Bundling: (${dep.groupId}, ${dep.artifactId}, ${dep.type})</ant:echo>
|
||||
<ant:copy todir="${maven.jboss.build.lib.dir}" file="${lib.path}"/>
|
||||
</j:if>
|
||||
</j:forEach>
|
||||
|
||||
<!-- Copy the JBoss default conf files from an existing JBoss
|
||||
server configuration to our specific configuration -->
|
||||
<ant:copy todir="${maven.jboss.build.conf.dir}">
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
<body>
|
||||
|
||||
<release version="1.4" date="in CVS">
|
||||
<action dev="vmassol" type="add" issue="MPJBOSS-6">
|
||||
Added feature to add custom lib jars to the JBoss configuration
|
||||
created when using the <code>jboss:configure</code> goal.
|
||||
</action>
|
||||
<action dev="vmassol" type="fix" issue="MPJBOSS-3" due-to="Archimedes Trajano">
|
||||
Fixed deploy/undeploy URLs for JBoss 3.2.
|
||||
</action>
|
||||
|
||||
@@ -17,7 +17,10 @@
|
||||
<name>jboss:configure</name>
|
||||
<description>
|
||||
Creates a custom JBoss server configuration directory structure
|
||||
(with no J2EE modules deployed in it).
|
||||
(with no J2EE modules deployed in it). Custom lib jars can be
|
||||
specified in the <code>project.xml</code> by taggin them with
|
||||
the <code><jboss.lib.bundle>true</jboss.lib.bundle></code>
|
||||
property.
|
||||
</description>
|
||||
</goal>
|
||||
<goal>
|
||||
|
||||
Reference in New Issue
Block a user