maven-plugins/cactus/maven.xml

32 lines
1.2 KiB
XML

<project default="plugin:install">
<!--
=============================================================================
Unzip the Cactus Ant Integration zip to the plugin output directory. Make
sure to exclude the jars which are packaged in the Ant Integration as we
will use the Maven auto-download feature for them (the main reason is to
prevent putting jars in a plugin - the canonical location for jars it the
Maven repository).
=============================================================================
-->
<postGoal name="java:jar-resources">
<unzip src="${maven.cactus.antintegration.zip}"
dest="${maven.build.dest}/plugin-resources">
<patternset>
<include name="**/*.*"/>
<exclude name="**/*.jar"/>
</patternset>
</unzip>
<!-- Rename the ant integration directory to remove the version in the
name. This it to make it easy to refer to it from the plugin.jelly
file -->
<move todir="${maven.build.dest}/plugin-resources/jakarta-cactus-integration-ant">
<fileset dir="${maven.build.dest}/plugin-resources/${maven.cactus.antintegration.name}"/>
</move>
</postGoal>
</project>