Custom Packaging with executions fails with NullPointerException in
RequirePluginVersions.java:702
--------------------------------------------------------------------------------------------------
Key: MENFORCER-117
URL: https://jira.codehaus.org/browse/MENFORCER-117
Project: Maven 2.x Enforcer Plugin
Issue Type: Bug
Components: Plugin
Affects Versions: 1.0.1
Environment: Windows XP
Reporter: Barrie Treloar
Priority: Critical
Attachments: pom.xml
The pde-maven-plugin causes enforcer to NPE.
I've attached an IT pom.xml.
I haven't had time to investigate this any further than to get the IT to fail
the same as my real build.
{noformat}
<packaging>zip</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>pde-maven-plugin</artifactId>
<version>1.0-alpha-1</version>
<extensions>true</extensions>
<configuration>
<buildProperties>
<pdeProductFilename>example.product</pdeProductFilename>
</buildProperties>
</configuration>
<!-- Also bind to mvn clean -->
<executions>
<execution>
<id>clean-pde</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
...
{noformat}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira