You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Stephane Nicoll (JIRA)" <ji...@codehaus.org> on 2005/05/20 21:09:57 UTC
[jira] Created: (MNG-420) JDK not set when generating an IDEA project
JDK not set when generating an IDEA project
-------------------------------------------
Key: MNG-420
URL: http://jira.codehaus.org/browse/MNG-420
Project: m2
Type: Bug
Components: maven-plugins
Versions: 2.0-alpha-2
Reporter: Stephane Nicoll
Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
I assume the following is missing:
<component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
--
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] Reopened: (MNG-420) JDK not set when generating an IDEA project
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-420?page=all ]
Stephane Nicoll reopened MNG-420:
---------------------------------
We need a default value for this property using the 'java.version' system property.
> JDK not set when generating an IDEA project
> -------------------------------------------
>
> Key: MNG-420
> URL: http://jira.codehaus.org/browse/MNG-420
> Project: Maven 2
> Type: Bug
> Components: maven-plugins
> Versions: 2.0-alpha-2
> Reporter: Stephane Nicoll
> Assignee: Stephane Nicoll
> Fix For: 2.0-beta-1
> Attachments: jdk-name.patch
>
>
> Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
> I assume the following is missing:
> <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
> If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
--
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] Resolved: (MNG-420) JDK not set when generating an IDEA project
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-420?page=all ]
Stephane Nicoll resolved MNG-420:
---------------------------------
Resolution: Fixed
Jason applied it. Thanks
> JDK not set when generating an IDEA project
> -------------------------------------------
>
> Key: MNG-420
> URL: http://jira.codehaus.org/browse/MNG-420
> Project: Maven 2
> Type: Bug
> Components: maven-plugins
> Versions: 2.0-alpha-2
> Reporter: Stephane Nicoll
> Assignee: Stephane Nicoll
> Fix For: 2.0-beta-1
> Attachments: jdk-name.patch
>
>
> Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
> I assume the following is missing:
> <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
> If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
--
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] Updated: (MNG-420) JDK not set when generating an IDEA project
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-420?page=all ]
Stephane Nicoll updated MNG-420:
--------------------------------
Description:
Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
I assume the following is missing:
<component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
was:
Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
I assume the following is missing:
<component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
Fix Version: 2.0-beta-1
Environment:
> JDK not set when generating an IDEA project
> -------------------------------------------
>
> Key: MNG-420
> URL: http://jira.codehaus.org/browse/MNG-420
> Project: Maven 2
> Type: Bug
> Components: maven-plugins
> Versions: 2.0-alpha-2
> Reporter: Stephane Nicoll
> Assignee: Stephane Nicoll
> Fix For: 2.0-beta-1
> Attachments: jdk-name.patch
>
>
> Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
> I assume the following is missing:
> <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
> If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
--
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] Closed: (MNG-420) JDK not set when generating an IDEA project
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-420?page=all ]
Stephane Nicoll closed MNG-420:
-------------------------------
Resolution: Fixed
Added a default jdkName based on the java.version system property.
> JDK not set when generating an IDEA project
> -------------------------------------------
>
> Key: MNG-420
> URL: http://jira.codehaus.org/browse/MNG-420
> Project: Maven 2
> Type: Bug
> Components: maven-plugins
> Versions: 2.0-alpha-2
> Reporter: Stephane Nicoll
> Assignee: Stephane Nicoll
> Fix For: 2.0-beta-1
> Attachments: jdk-name.patch
>
>
> Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
> I assume the following is missing:
> <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
> If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
--
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] Updated: (MNG-420) JDK not set when generating an IDEA project
Posted by "Stephane Nicoll (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MNG-420?page=all ]
Stephane Nicoll updated MNG-420:
--------------------------------
Attachment: jdk-name.patch
Added jdkName property which allows to plug a project to a IDEA registered JDK.
To use it, identify your JDK's name (remove the quotes that JDK sets by default). Add the following to your pom:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-idea-plugin</artifactId>
<configuration>
<jdkName>java version 1.4.2_06</jdkName>
</configuration>
</plugin>
</plugins>
</build>
> JDK not set when generating an IDEA project
> -------------------------------------------
>
> Key: MNG-420
> URL: http://jira.codehaus.org/browse/MNG-420
> Project: Maven 2
> Type: Bug
> Components: maven-plugins
> Versions: 2.0-alpha-2
> Reporter: Stephane Nicoll
> Assignee: Stephane Nicoll
> Attachments: jdk-name.patch
>
>
> Using the m2 IDEA plugin on any project, the target JDK is never set (which leads to failure regarding JDK classes).
> I assume the following is missing:
> <component name="ProjectRootManager" version="2" assert-keyword="false" jdk-15="false" project-jdk-name="java version "1.4.2_02"" />
> If IDEA needs the name of the JDK, what about putting this info in the plugin's properties?
--
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