[ http://jira.codehaus.org/browse/MNGECLIPSE-26?page=comments#action_55736 
] 

Dmitri Maximovich commented on MNGECLIPSE-26:
---------------------------------------------

Leonardo,

First of all, as you noted this is not (less of) an issue with m2 build 
preocess runner, because you can specify JRE the process will youse. Personally 
I always have JDKs specified there so it works ;-)

Second, after discussion with Eugene we agreed that dependance on system 
variables in pom.xml is probably not the best approach. In m2 you can define 
multiple profiles in settings.xml and than either reference profiles variables 
in pom.xml or variables defined in (active) profile should overwrite system 
variables with the same name. Could you please verify that this approach would 
work with maven2 if it runs from command line? 

Unfortunately, as far as I know, m2 embedder currently doesn't support 
settings.xml. See linked JIRAs for details.

> Allow to specify a custom JDK for the Maven process
> ---------------------------------------------------
>
>          Key: MNGECLIPSE-26
>          URL: http://jira.codehaus.org/browse/MNGECLIPSE-26
>      Project: Maven 2.x Plug-in for Eclipse
>         Type: New Feature

>     Versions: 0.0.3
>  Environment: Eclipse 3.1, MyEclipse, Java 5.0
>     Reporter: Leonardo Quijano Vincenzi
>     Assignee: Dmitri Maximovich
>      Fix For: 0.0.4

>
>
> The Maven plugin uses the JRE/JDK used to launch Eclipse. It would be useful 
> to include a dialog that allows people to change that default JDK (mostly due 
> to problems when specifying system jars in pom files), probably just 
> selecting the appropiate Eclipse-configured JDK.
> At least the plugin could use the default Eclipse JDK.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to