Author: echatellier Date: 2010-02-26 17:48:46 +0100 (Fri, 26 Feb 2010) New Revision: 827 Modified: trunk/ant-eugene-task/pom.xml Log: Add assembly for ant task (copied from eugene module, code not sure) Modified: trunk/ant-eugene-task/pom.xml =================================================================== --- trunk/ant-eugene-task/pom.xml 2010-02-25 18:28:22 UTC (rev 826) +++ trunk/ant-eugene-task/pom.xml 2010-02-26 16:48:46 UTC (rev 827) @@ -56,5 +56,49 @@ <!-- ************************************************************* --> <packaging>jar</packaging> + <properties> + <!-- extra files to include in release --> + <redmine.releaseFiles>${redmine.libReleaseFiles}</redmine.releaseFiles> + </properties> + + <profiles> + <!-- perform only on a release stage when using the maven-release-plugin --> + <profile> + <id>release-profile</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <plugins> + + <!-- launch in a release the assembly automaticly --> + <plugin> + <artifactId>maven-assembly-plugin</artifactId> + <executions> + <execution> + <id>create-assemblies</id> + <phase>verify</phase> + <goals> + <goal>single</goal> + </goals> + </execution> + </executions> + <configuration> + <attach>false</attach> + <descriptorRefs> + <descriptorRef>deps</descriptorRef> + <descriptorRef>full</descriptorRef> + </descriptorRefs> + </configuration> + </plugin> + + + </plugins> + </build> + </profile> + </profiles> </project>