History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16976
Type: Bug Bug
Status: Open Open
Assignee: Anton Makeev
Reporter: Roberto Dominguez
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Embedded Maven ignores JDK project settings

Created: 25 Jan 08 22:52   Updated: 18 Mar 08 12:31
Component/s: Maven Integration

Environment: Mac OS X Leopard, with JDK 1.5.0.3. The Project (and module) are configure to use JDK 1.4
Issue Links:
Relates
 
This issue is related to:
IDEADEV-25345 Maven: Consider a jdk version during ... Normal Open

Build: 7,590
Severity: High


 Description  « Hide
I have my project set to use JDK 1.4, but when building with maven, it uses the default (as in the JDK used to run IntelliJ itself)

to confirm, I used the maven-enforcer-plugin to restrict JDK to be 1.4.x only, and this is what I get:

[WARNING] Rule 0: org.apache.maven.plugin.enforcer.RequireJavaVersion failed with message: Detected JDK Version: 1.5.0-13 is not in the allowed range [1.4,1.5).

Without the validation, it compiles using 1.5.0-13.



 All   Comments   Work Log   Change History      Sort Order:
Anton Makeev - 30 Jan 08 17:52
You may use, as a temporary solution, the external runner and provide a corresponding JAVA_HOME value.
We'll add the support for a custom jdk later.