Setting an arbitrary property for a plugin within its configuration
Hi, I always need to run the eclipse plugin with a certain profile (some common resources must be ignored). We defined a build profile that does not define this resource and activate it using a role property on the commandline, like so: mvn eclipse:eclipse -Drole=eclipse Is it possible to set this property permanently within the plugin configuration? Something like: org.apache.maven.plugins maven-eclipse-plugin eclipse This particular syntax does not work, I tried it :-( Regards, Dietrich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Setting an arbitrary property for a plugin within its configuration
Hi Dietrich, You could specify a property (role, eclipse) inside the properties tag of your pom.xml file (outside of the plugin configuration), then use the property defined to configure your eclipse plugin. -Deng [EMAIL PROTECTED] wrote: Hi, I always need to run the eclipse plugin with a certain profile (some common resources must be ignored, the eclipse plugin does not yet properly add common resources outside project folders). We defined a build profile that does not define this resource and activate it using a role property on the commandline, like so: mvn eclipse:eclipse -Drole=eclipse Is it possible to set this property permanently within the plugin configuration? Something like: org.apache.maven.plugins maven-eclipse-plugin eclipse This particular syntax does not work, I tried it :-( Regards, Dietrich - 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]
Setting an arbitrary property for a plugin within its configuration
Hi, I always need to run the eclipse plugin with a certain profile (some common resources must be ignored, the eclipse plugin does not yet properly add common resources outside project folders). We defined a build profile that does not define this resource and activate it using a role property on the commandline, like so: mvn eclipse:eclipse -Drole=eclipse Is it possible to set this property permanently within the plugin configuration? Something like: org.apache.maven.plugins maven-eclipse-plugin eclipse This particular syntax does not work, I tried it :-( Regards, Dietrich - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]