Author: tchemit Date: 2012-11-16 17:00:40 +0100 (Fri, 16 Nov 2012) New Revision: 426 Url: http://nuiton.org/repositories/revision/processor/426 Log: fixes #2441: Use m-plugin-p 3.0 api Modified: trunk/maven-processor-plugin/pom.xml Modified: trunk/maven-processor-plugin/pom.xml =================================================================== --- trunk/maven-processor-plugin/pom.xml 2012-11-16 16:00:15 UTC (rev 425) +++ trunk/maven-processor-plugin/pom.xml 2012-11-16 16:00:40 UTC (rev 426) @@ -24,7 +24,9 @@ #L% --> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> @@ -39,7 +41,7 @@ </parent> <groupId>org.nuiton.processor</groupId> - <artifactId>maven-processor-plugin</artifactId> + <artifactId>processor-maven-plugin</artifactId> <dependencies> @@ -54,7 +56,7 @@ <groupId>commons-lang</groupId> <artifactId>commons-lang</artifactId> </dependency> - + <dependency> <groupId>org.nuiton</groupId> <artifactId>helper-maven-plugin-api</artifactId> @@ -84,6 +86,11 @@ <artifactId>maven-plugin-api</artifactId> </dependency> + <dependency> + <groupId>org.apache.maven.plugin-tools</groupId> + <artifactId>maven-plugin-annotations</artifactId> + </dependency> + </dependencies> <!-- ************************************************************* --> @@ -98,38 +105,32 @@ <packaging>maven-plugin</packaging> - <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> - <build> + <pluginManagement> + <plugins> - <plugins> + <plugin> + <artifactId>maven-plugin-plugin</artifactId> + <configuration> + <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound> + </configuration> + <executions> + <execution> + <goals> + <goal>helpmojo</goal> + <goal>descriptor</goal> + </goals> + </execution> + </executions> + </plugin> - <plugin> - <artifactId>maven-plugin-plugin</artifactId> - <executions> - <execution> - <goals> - <goal>helpmojo</goal> - </goals> - </execution> - </executions> - </plugin> + </plugins> + </pluginManagement> - </plugins> + </build> + <profiles> - </build> - - </profile> - <!-- perform only on a release stage when using the maven-release-plugin --> <profile> <id>reporting</id> @@ -146,7 +147,7 @@ <plugin> <artifactId>maven-plugin-plugin</artifactId> - <version>2.5.1</version> + <version>${pluginPluginVersion}</version> </plugin> </plugins>
participants (1)
-
tchemit@users.nuiton.org