[jira] Commented: (MAVEN-1545) Specify target jdk per project in multibuild

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (MAVEN-1545) Specify target jdk per project in multibuild

JIRA jira@codehaus.org
     [ http://jira.codehaus.org/browse/MAVEN-1545?page=comments#action_38742 ]
     
Barry Kaplan commented on MAVEN-1545:
-------------------------------------

Just to clarify what Mark said. We did not fork off a javac, we needed to fork off an entire maven process, since maven always uses the same jdk to build that it is running under. This meant extracting out the forehead config to fork a correct maven.

> Specify target jdk per project in multibuild
> --------------------------------------------
>
>          Key: MAVEN-1545
>          URL: http://jira.codehaus.org/browse/MAVEN-1545
>      Project: maven
>         Type: Improvement
>     Versions: 1.0.2
>     Reporter: Barry Kaplan

>
>
> We have a project (Drools) in which some modules require compilation with jdk5 and requires pre-jdk5. Both these modules cannot exists in the overall multi-project build.
> Maybe some type of property which indicates the JAVA_HOME to be used for a project can be added. I suppose this might mean forking off a new maven when the jdk changes from that of the top-level multi-build project.

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