Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e doesn't honour MAVEN_OPTS ??

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> 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>:
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> 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>

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


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
Regards,
Anton.

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top