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:

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
 <properties>
   <role>eclipse</role>
 </properties>
</configuration>
</plugin>

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]

Reply via email to