Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] FW: Overriding default m2eclipse preferences

IMavenConfiguration is our recommended/supported way to get/set m2e
preferences, including location of user settings.xml. 0.12.x
implementation implementation of this interface is [1] and 0.13.x
implementation is [2]. Hope this helps.

[1] https://github.com/sonatype/m2e-core-tests/blob/rb-0.12.x/org.maven.ide.eclipse/src/org/maven/ide/eclipse/internal/embedder/MavenConfigurationImpl.java [2] http://git.eclipse.org/c/m2e/m2e-core.git/tree/org.eclipse.m2e.core/src/org/eclipse/m2e/core/internal/preferences/MavenConfigurationImpl.java

--
Regards,
Igor

On 11-04-07 04:31 PM, paul.warren@xxxxxxx wrote:
Hi Folks,

I hope this is the right forum. I was going to post to
eclipse.technology.m2e but it looks like that one has been marked
read-only recently. If not, can you point me please?

I am using m2eclipe 0.12.x

We are a platform company and develop a set of tools for our users to
build j2ee apps on that platform. As such we are looking to embed
m2eclipse in our tools (an rcp app and a set of plug-ins, installed from
an update site into an eclipse instance) to give the developers and the
build team a common infrastructure.

For a few reasons (that I can explain if you want more info) we need to
override some of your default preferences – the location of the user
settings.xml being the key one.

However, I have not been able to do this using either an
org.eclipse.core.runtime.preferences extension, or in code or by using
plugin customization (from the product definition).

I can’t see why it wouldn’t be possible? It is just a standard eclipse
preference right? Can someone who knows more than me give me a pointer?

Cheers

_Paul



_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top