You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Aaron Mulder (JIRA)" <ji...@codehaus.org> on 2006/03/04 22:52:13 UTC
[jira] Created: (MIDEA-29) Wrong JDK selected (Maven 2.0.2/IDEA
5.1)
Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
-----------------------------------------
Key: MIDEA-29
URL: http://jira.codehaus.org/browse/MIDEA-29
Project: Maven 2.x Idea Plugin
Type: Bug
Reporter: Aaron Mulder
I used mvn idea:idea on an EAR project with several modules. I'm using JDK 1.4.2_10 (same in Maven and Idea).
The generated Idea project shows it's configured for "java version 1.4.2_10 [Invalid]".
My Idea has 2 JDKs defined:
- '1.4 (java version "1.4.2_10")'
- '1.5 (java version "1.5.0_06")'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: [jira] Closed: (MIDEA-29) Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
Posted by Wendy Smoak <ws...@gmail.com>.
On 3/5/06, Edwin Punzalan (JIRA) <ji...@codehaus.org> wrote:
> [ http://jira.codehaus.org/browse/MIDEA-29?page=all ]
>
> Edwin Punzalan closed MIDEA-29:
> -------------------------------
>
> Assign To: Edwin Punzalan
> Resolution: Duplicate
>
> Ok, I'll close this duplicate issue now. Thanks.
Can you publish a snapshot of maven-idea-plugin? IIRC this was fixed
in December, but there's no way to get the fix unless you build from
source. That's not a good solution for everyone.
--
Wendy
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Closed: (MIDEA-29) Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-29?page=all ]
Edwin Punzalan closed MIDEA-29:
-------------------------------
Assign To: Edwin Punzalan
Resolution: Duplicate
Ok, I'll close this duplicate issue now. Thanks.
> Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
> -----------------------------------------
>
> Key: MIDEA-29
> URL: http://jira.codehaus.org/browse/MIDEA-29
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Reporter: Aaron Mulder
> Assignee: Edwin Punzalan
>
>
> I used mvn idea:idea on an EAR project with several modules. I'm using JDK 1.4.2_10 (same in Maven and Idea).
> The generated Idea project shows it's configured for "java version 1.4.2_10 [Invalid]".
> My Idea has 2 JDKs defined:
> - '1.4 (java version "1.4.2_10")'
> - '1.5 (java version "1.5.0_06")'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MIDEA-29) Wrong JDK selected (Maven 2.0.2/IDEA
5.1)
Posted by "Edwin Punzalan (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-29?page=comments#action_60095 ]
Edwin Punzalan commented on MIDEA-29:
-------------------------------------
Did you use -DjdkName ?
> Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
> -----------------------------------------
>
> Key: MIDEA-29
> URL: http://jira.codehaus.org/browse/MIDEA-29
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Reporter: Aaron Mulder
>
>
> I used mvn idea:idea on an EAR project with several modules. I'm using JDK 1.4.2_10 (same in Maven and Idea).
> The generated Idea project shows it's configured for "java version 1.4.2_10 [Invalid]".
> My Idea has 2 JDKs defined:
> - '1.4 (java version "1.4.2_10")'
> - '1.5 (java version "1.5.0_06")'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MIDEA-29) Wrong JDK selected (Maven 2.0.2/IDEA
5.1)
Posted by "Wendy Smoak (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-29?page=comments#action_60097 ]
Wendy Smoak commented on MIDEA-29:
----------------------------------
This seems to be a duplicate of MIDEA-9
Both of these issues are fixed in the trunk. If you build maven-idea-plugin from source, and run 'mvn idea:idea', you'll get the right JDK and language level. (Presumably based on JAVA_HOME and the config for maven-compiler-plugin.)
> Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
> -----------------------------------------
>
> Key: MIDEA-29
> URL: http://jira.codehaus.org/browse/MIDEA-29
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Reporter: Aaron Mulder
>
>
> I used mvn idea:idea on an EAR project with several modules. I'm using JDK 1.4.2_10 (same in Maven and Idea).
> The generated Idea project shows it's configured for "java version 1.4.2_10 [Invalid]".
> My Idea has 2 JDKs defined:
> - '1.4 (java version "1.4.2_10")'
> - '1.5 (java version "1.5.0_06")'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
[jira] Commented: (MIDEA-29) Wrong JDK selected (Maven 2.0.2/IDEA
5.1)
Posted by "Aaron Mulder (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MIDEA-29?page=comments#action_60073 ]
Aaron Mulder commented on MIDEA-29:
-----------------------------------
It also set the language level for project to "1.3" even though it was set to use a 1.4 JDK
> Wrong JDK selected (Maven 2.0.2/IDEA 5.1)
> -----------------------------------------
>
> Key: MIDEA-29
> URL: http://jira.codehaus.org/browse/MIDEA-29
> Project: Maven 2.x Idea Plugin
> Type: Bug
> Reporter: Aaron Mulder
>
>
> I used mvn idea:idea on an EAR project with several modules. I'm using JDK 1.4.2_10 (same in Maven and Idea).
> The generated Idea project shows it's configured for "java version 1.4.2_10 [Invalid]".
> My Idea has 2 JDKs defined:
> - '1.4 (java version "1.4.2_10")'
> - '1.5 (java version "1.5.0_06")'
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org