- Fix exclude of tmp files in generated zip

- Default jboss server configation is now named ${pom.artifactId}


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@113530 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
vmassol 2003-06-21 14:02:28 +00:00
parent ab8e82985f
commit 3048cd06ee
3 changed files with 4 additions and 4 deletions

View File

@ -208,8 +208,8 @@
<!-- Generate the distributable --> <!-- Generate the distributable -->
<ant:zip destfile="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.zip"> <ant:zip destfile="${maven.build.dir}/${pom.artifactId}-${pom.currentVersion}.zip">
<ant:zipfileset dir="${maven.jboss.build.dir}" prefix="${pom.artifactId}"> <ant:zipfileset dir="${maven.jboss.build.dir}" prefix="${pom.artifactId}">
<ant:exclude name="tmp/**"/> <ant:exclude name="**/tmp/**"/>
<ant:exclude name="log/**"/> <ant:exclude name="**/log/**"/>
</ant:zipfileset> </ant:zipfileset>
</ant:zip> </ant:zip>

View File

@ -25,7 +25,7 @@
maven.jboss.script.dir = ${pom.getPluginContext('maven-jboss-plugin').getVariable('plugin.dir')}/plugin-resources maven.jboss.script.dir = ${pom.getPluginContext('maven-jboss-plugin').getVariable('plugin.dir')}/plugin-resources
# Name of the specific JBoss server configuration we are creating # Name of the specific JBoss server configuration we are creating
maven.jboss.conf.name = custom maven.jboss.conf.name = ${pom.artifactId}
# Location where the specific JBoss server configuration is created # Location where the specific JBoss server configuration is created
maven.jboss.build.dir = ${maven.build.dir}/${pom.artifactId} maven.jboss.build.dir = ${maven.build.dir}/${pom.artifactId}

View File

@ -61,7 +61,7 @@
<td> <td>
<p> <p>
Name of the specific JBoss server configuration we are creating. Name of the specific JBoss server configuration we are creating.
Default value is <code>custom</code>. Default value is <code>${pom.artifactId}</code>.
</p> </p>
</td> </td>
</tr> </tr>