[jira] Created: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

View: New views
7 Messages — Rating Filter:   Alert me  

[jira] Created: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

USe Netbeans Platform manager to select JDK for maven
-----------------------------------------------------

                 Key: MEVENIDE-503
                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
             Project: mevenide
          Issue Type: Improvement
          Components: mevenide-netbeans
    Affects Versions: NB_2.3
         Environment: Alll
            Reporter: Henrik Lynggaard
         Assigned To: Milos Kleint


In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.

Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.

This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Updated: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-503:
----------------------------------

    Fix Version/s: NB_FUTURE

unfortunately that kind of thing is not currently possible to do in maven consistently AFAIK. I've commented on
http://jira.codehaus.org/browse/MNG-46. After that one is done in maven, we can easily implement support for that in maven. However currently it's rather complex task as one would need to configure multiple plugins (like compiler, test, exec, ....). That's where I don't dare to go and do all that in automated way.
you can set the plugins you care about manually in the pom, compiler plugin for example has the <executable> parameter that allows you to link to the 1.4 jdk for compilation.

> USe Netbeans Platform manager to select JDK for maven
> -----------------------------------------------------
>
>                 Key: MEVENIDE-503
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide-netbeans
>    Affects Versions: NB_2.3
>         Environment: Alll
>            Reporter: Henrik Lynggaard
>         Assigned To: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.
> Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.
> This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Updated: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint updated MEVENIDE-503:
----------------------------------

    Component/s: mevenide2-netbeans

a duplicate issue is filed in netbeans.org issuezilla: http://www.netbeans.org/issues/show_bug.cgi?id=104974

> USe Netbeans Platform manager to select JDK for maven
> -----------------------------------------------------
>
>                 Key: MEVENIDE-503
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide-netbeans, mevenide2-netbeans
>    Affects Versions: NB_2.3
>         Environment: Alll
>            Reporter: Henrik Lynggaard
>            Assignee: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.
> Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.
> This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Commented: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_111486 ]

Milos Kleint commented on MEVENIDE-503:
---------------------------------------

issue #104974 described a workaround introduced for maven2 support in 6.0.

> USe Netbeans Platform manager to select JDK for maven
> -----------------------------------------------------
>
>                 Key: MEVENIDE-503
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide-netbeans, mevenide2-netbeans
>    Affects Versions: NB_2.3
>         Environment: Alll
>            Reporter: Henrik Lynggaard
>            Assignee: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.
> Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.
> This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list please visit:

    http://xircles.codehaus.org/manage_email


[jira] Commented: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=131268#action_131268 ]

Milos Kleint commented on MEVENIDE-503:
---------------------------------------

will be handled by maven via the toolchains proposal:

http://docs.codehaus.org/display/MAVEN/Toolchains

once that gets implemented we can add the support in the IDE.

> USe Netbeans Platform manager to select JDK for maven
> -----------------------------------------------------
>
>                 Key: MEVENIDE-503
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide-netbeans, mevenide2-netbeans
>    Affects Versions: NB_2.3
>         Environment: Alll
>            Reporter: Henrik Lynggaard
>            Assignee: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.
> Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.
> This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MEVENIDE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=156541#action_156541 ]

Jaromir Uhrik commented on MEVENIDE-503:
----------------------------------------

This bug was transferred to the NetBeans Issuezilla bug tracking system as http://www.netbeans.org/issues/show_bug.cgi?id=154490

> USe Netbeans Platform manager to select JDK for maven
> -----------------------------------------------------
>
>                 Key: MEVENIDE-503
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide-netbeans, mevenide2-netbeans
>    Affects Versions: NB_2.3
>         Environment: Alll
>            Reporter: Henrik Lynggaard
>            Assignee: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.
> Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.
> This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Closed: (MEVENIDE-503) USe Netbeans Platform manager to select JDK for maven

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/MEVENIDE-503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Milos Kleint closed MEVENIDE-503.
---------------------------------

    Resolution: Duplicate

closing the issue as duplicate of the newly created one in netbeans.org issuezilla.
Please post your additional comments to the new issue.

> USe Netbeans Platform manager to select JDK for maven
> -----------------------------------------------------
>
>                 Key: MEVENIDE-503
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-503
>             Project: mevenide
>          Issue Type: Improvement
>          Components: mevenide-netbeans, mevenide2-netbeans
>    Affects Versions: NB_2.3
>         Environment: Alll
>            Reporter: Henrik Lynggaard
>            Assignee: Milos Kleint
>             Fix For: NB_FUTURE
>
>
> In  a normal netbeans  project I can use the "Java Platform Manager" to tell netbeans which jdk to compile with regardless of the jdk I have started Netbeans with.
> Maven2 /mevenide based projects does not offer this possibility and thus all maven build happens with the jdk i used to start netbeans with.
> This is a big problem for me, as I have code that needs to be compiled with jdk 1.4.2, and my netbeans runs under jdk6.

--
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 from this list, please visit:

    http://xircles.codehaus.org/manage_email