Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365901 - org.codehaus.mojo:properties-maven-plugin fails in Indigo with m2e
Summary: org.codehaus.mojo:properties-maven-plugin fails in Indigo with m2e
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 09:13 EST by Dean Schulze CLA
Modified: 2021-04-19 13:26 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Schulze CLA 2011-12-07 09:13:21 EST
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.
Comment 1 Igor Fedorenko CLA 2011-12-07 18:43:17 EST
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.
Comment 2 Denis Roy CLA 2021-04-19 13:26:07 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/