Author: tchemit Date: 2010-10-17 04:06:27 +0200 (Sun, 17 Oct 2010) New Revision: 1012 Url: http://nuiton.org/repositories/revision/mavenpom/1012 Log: Evolution #957: add a profile analyze-dependencies to check dependencies before a release Modified: trunk/pom.xml Modified: trunk/pom.xml =================================================================== --- trunk/pom.xml 2010-10-17 02:03:15 UTC (rev 1011) +++ trunk/pom.xml 2010-10-17 02:06:27 UTC (rev 1012) @@ -1584,6 +1584,40 @@ </build> </profile> + + <profile> + <id>analyze-dependencies</id> + <activation> + <property> + <name>performRelease</name> + <value>true</value> + </property> + </activation> + <build> + <defaultGoal>verify</defaultGoal> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-dependency-plugin</artifactId> + <inherited>true</inherited> + <executions> + <execution> + <id>analyze</id> + <goals> + <goal>analyze-only</goal> + </goals> + <configuration> + <verbose>true</verbose> + <failOnWarning>true</failOnWarning> + <ignoreNonCompile>true</ignoreNonCompile> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>