Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451974 - mvn launcher doesn't respect GENTOO_VM env. var.
Summary: mvn launcher doesn't respect GENTOO_VM env. var.
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-01-14 05:52 UTC by Serkan Kaba (RETIRED)
Modified: 2013-01-14 08:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to fox the issue (maven_gentoo_vm.patch,453 bytes, patch)
2013-01-14 07:26 UTC, Serkan Kaba (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Serkan Kaba (RETIRED) gentoo-dev 2013-01-14 05:52:37 UTC
Current mvn3 (and possibly maven2) launcher doesn't respect the GENTOO_VM env. var. I'm attaching a patch for review. I'll commit if agreed although I can't figure out where this file comes from it's not identical to the one in ${FILESDIR}.
Comment 1 Serkan Kaba (RETIRED) gentoo-dev 2013-01-14 07:26:50 UTC
Created attachment 335566 [details, diff]
Patch to fox the issue
Comment 2 Ralph Sennhauser (RETIRED) gentoo-dev 2013-01-14 08:01:31 UTC
Will need to do something like that or GENTOO_VM won't be respected indeed. Good catch.

One thing that comes to mind looking at the is there probably should be a MAVEN_RESPECT_JAVA_HOME variable as there is for ant. The patch will make it otherwise hard to use user installed vms.

The file itself can be found in the maven tarball, it's upstreams script.