Author: tchemit Date: 2009-10-28 18:54:10 +0100 (Wed, 28 Oct 2009) New Revision: 296 Modified: wikengo_core-wikitty/pom.xml Log: add some profiles Modified: wikengo_core-wikitty/pom.xml =================================================================== --- wikengo_core-wikitty/pom.xml 2009-10-28 17:52:55 UTC (rev 295) +++ wikengo_core-wikitty/pom.xml 2009-10-28 17:54:10 UTC (rev 296) @@ -77,7 +77,54 @@ </repository> </repositories> + + <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> + + <!-- always compute source jar --> + <plugin> + <artifactId>maven-source-plugin</artifactId> + <executions> + <execution> + <id>attach-sources</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + <!-- always compute javadoc jar --> + <plugin> + <artifactId>maven-javadoc-plugin</artifactId> + <executions> + <execution> + <id>attach-javadocs</id> + <goals> + <goal>jar</goal> + </goals> + </execution> + </executions> + </plugin> + + </plugins> + + </build> + </profile> + + </profiles> + </project>
participants (1)
-
tchemit@users.nuiton.org