Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 352953 - Invoke plugin doesnt retrieve JAVA_HOME classpath variable when invoked by m2e external maven
Summary: Invoke plugin doesnt retrieve JAVA_HOME classpath variable when invoked by m2...
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 11:33 EDT by Philippe Bastiani CLA
Modified: 2021-04-19 13:25 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Bastiani CLA 2011-07-24 11:33:29 EDT
Build Identifier: 20110615-0604

M2E: 1.0.0.20110607-2117

The goal 'maven-invoker-plugin:1.5:run (generate-projects)' requires the JAVA_HOME variable to be executed.

To reply to this requirement, the JAVA_HOME variable can be settled via the Preferences of Eclipse.

The setting of this classpath variable is not enough: the execution with the external configuration of Maven fails...

ERROR: JAVA_HOME not found in your environment.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation

Reproducible: Always
Comment 1 Igor Fedorenko CLA 2013-09-28 23:52:20 EDT
closing old/stale bugreports
Comment 2 Denis Roy CLA 2021-04-19 13:25:18 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/