Community
Participate
Working Groups
Build Identifier: 20110916-0149 Executing the plugin below gives the following error. This worked under Helios with m2eclipse and it still works from the command line. Failed to execute goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties (default) on project pttutil: Execution default of goal org.codehaus.mojo:properties-maven-plugin:1.0-alpha-2:read-project-properties failed. NullPointerException -> [Help 1] <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>properties-maven-plugin</artifactId> <version>1.0-alpha-2</version> <executions> <execution> <phase>initialize</phase> <goals> <goal>read-project-properties</goal> </goals> <configuration> <files> <file>${VERSIONS_FILE}</file> </files> </configuration> </execution> </executions> </plugin> Reproducible: Always Steps to Reproduce: 1. install m2e into Indigo 2. Execute the plugin above 3.
I am getting exactly the same NPE running "mvn initialize" from command line, so this is not m2e specific problem. Feel free to reopen this bug if you believe m2e can handle this better, but make sure to provide complete standalone project that works on command line using maven 3.0.2 and exact steps to reproduce the problem inside m2e.
Moved to https://github.com/eclipse-m2e/m2e-core/issues/