Author: tchemit Date: 2009-10-10 18:16:12 +0200 (Sat, 10 Oct 2009) New Revision: 613 Modified: trunk/pom.xml Log: add license plugin (replace helper plugin for add-license and add-third-party goals) Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2009-10-10 16:09:08 UTC (rev 612) +++ trunk/pom.xml 2009-10-10 16:16:12 UTC (rev 613) @@ -327,6 +327,7 @@ <properties> + <license.version>2.0.0</license.version> <maven.version>2.2.1</maven.version> <plexusMailSender.version>1.0-alpha-2</plexusMailSender.version> <javadoc.version>2.6</javadoc.version> @@ -628,6 +629,12 @@ <artifactId>maven-invoker-plugin</artifactId> <version>1.3</version> </plugin> + + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <version>${license.version}</version> + </plugin> </plugins> </pluginManagement> @@ -936,6 +943,21 @@ </executions> </plugin> + <!-- always add license and third-party files to classpath --> + <plugin> + <groupId>org.nuiton</groupId> + <artifactId>maven-license-plugin</artifactId> + <executions> + <execution> + <id>attach-licenses</id> + <goals> + <goal>add-license</goal> + <goal>add-third-party</goal> + </goals> + </execution> + </executions> + </plugin> + </plugins> </build> </profile>
participants (1)
-
tchemit@users.nuiton.org