[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
| Re: [m2e-users] m2e doesn't honour MAVEN_OPTS ?? | 
Hi,
what about
Run As -> Maven Build ... Configure an execution with Environment (There 
is a tab with Enviornment) which might be right direction...
That the configuration via eclipse.ini does not work is based on that 
AFAIK if you start Run As -> maven install a separate JVM is started..?
Kind regards
Karl Heinz Marbaise
On 10/24/14 3:01 PM, CoderPlus Team wrote:
I had tried that previously but the property wasn't picked.
Below is the content of the eclipse.ini file which I tried with
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20140415-2008.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140603-1326
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
700M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
700m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms200m
-Xmx1024m
-XX:MaxPermSize=1024m
-Declipse.p2.unsignedPolicy=allow
-XX:+UnlockExperimentalVMOptions
-XX:+DoEscapeAnalysis
-XX:+UseG1GC
-XX:+UseFastAccessorMethods
-XX:+AggressiveOpts
-Dmaven.buildNumber.skip=true
-DskipCompression=true
On Fri, Oct 24, 2014 at 6:24 PM, Anton Tanasenko
<atg.sleepless@xxxxxxxxx <mailto:atg.sleepless@xxxxxxxxx>> wrote:
    It should also be possible to define those properties in
    eclipse.ini, this way they are applied to the whole workspace.
    2014-10-24 15:38 GMT+03:00 CoderPlus Team <admin@xxxxxxxxxxxxx
    <mailto:admin@xxxxxxxxxxxxx>>:
        Thanks Igor,
        I temporarily got around this by defining the property within my
        settings.xml file.
        On Fri, Oct 24, 2014 at 5:03 PM, Igor Fedorenko
        <igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>> wrote:
            I don't believe this is possible.
            --
            Regards,
            Igor
            On 2014-10-24, 0:40, CoderPlus Team wrote:
                Hi all,
                I have added *-Dmaven.buildNumber.skip=__true* to
                *MAVEN_OPTS* to skip
                org.codehaus.mojo:buildnumber-__maven-plugin:create
                <http://mojo.codehaus.org/__buildnumber-maven-plugin/__create-mojo.html
                <http://mojo.codehaus.org/buildnumber-maven-plugin/create-mojo.html>>
                This works outside of eclipse, but when I right click on
                the Project >
                *Run As*>*Maven Install*, this property isn't honoured.
                How to make m2e not ignore MAVEN_OPTS (without having to
                edit the run
                configuration of each project)
                Regards,
                Aneesh