« Return to Thread: settings.xml (still?) ignored

settings.xml (still?) ignored

by Wouter van Reeven :: Rate this Message:

Reply to Author | View in Thread

Hi,


I found this thread via Google

http://www.nabble.com/Problem-with-Mevenide-2-in-NB6-td14135951.html

and theu bug Milos mentioned in the thread is resolved and closed. Hence the
subject of this mail.

In order to be able to use the maven-glassfish plugin I need to set several
properties for Maven, e.g. glassfishDirectory. Since the required properties may
vary per developer, I have included them in my local settings.xml file in my .m2
directory. From my pom I refer to them e.g.

<glassfishDirectory>${glassfish.home}</glassfishDirectory>

MevenIDE doesn't like this. I get errors like this

[ERROR]Missing parameters include:
[ERROR]glassfishDirectory

If I tell MevenIDE to use an external Maven (version 2.0.9) it works. However,
MevenIDE includes this in my pom

<netbeans.hint.useExternalMaven>true</netbeans.hint.useExternalMaven>

which I don't like cause now I have IDE specific code in my pom. Is there any
way to have MevenIDE use my settings.xml?


Thanks, Wouter

--

People: "If she weighs the same as a Duck, she's made of wood!"
Sir Bedevere: "And therefore...?"

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


 « Return to Thread: settings.xml (still?) ignored