Guhten Tag,

I might suggest copying the pom.xml to a writeable dev-pom.xml in the
same directory and calling mvn -f dev-pom.xml. Then the file can be
modified w/o involving the source control.

Kris Bravo


-----Original Message-----
From: Carsten Karkola [mailto:[EMAIL PROTECTED] 
Sent: Monday, July 10, 2006 8:17 AM
To: users@maven.apache.org
Subject: Change config of plugin outside of pom.xml

Hallo,

what is the best way to change a plugin config outside of the POM, so
developers can add some properties without the need to checkout/change
the pom of the project.

So I have a plugin with a config like
<plugin>
   <groupId>foo</groupId>
   <artifactId>myplugin</artifactId>
   <configuration>
      <jvargs>
        <jvarg>-Xms512m</jvarg>
      </jvargs>
   </configuration>
</plugin>
and a developer likes to add an additional
    <jvarg>-Xdebug</jvarg>

Under
http://maven.apache.org/guides/introduction/introduction-to-profiles.htm
l
I found this sentence, but I don't understand it:

----
The properties section allows you to specify free-form key-value pairs
which will be included in the interpolation process for the POM. This
allows you to specify a plugin configuration in the form of
${profile.provided.path}.
----

Does it mean I can add some property to my settings.xml like
<build.plugin.foo.configuration.jvargs.jvarg>-Xdebug</...> ?!

Regards, carsten



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to