I am using the Eclipse plugin for Maven to add a builder so that upon every clean the resources:resources goal gets invoked. This avoids the tedious process of keep filtered resources up to date after a clean in Eclipse. The output for this in the .project file looks as follows:
<buildCommand> <name>org.eclipse.ui.externaltools.ExternalToolBuilder</name> <triggers>full,incremental,</triggers> <arguments> <dictionary> <key>LaunchConfigHandle</key> <value><project>/.externalToolBuilders/Repository Resources [Builder].launch</value> </dictionary> </arguments> </buildCommand> Whenever I regenerate the project with eclipse:eclipse, this section gets wiped out and I need to add it again manually. I haven't found a way to add these more complicated buildCommand to the maven-eclipse plugin. The maven-plugin only seems to support simple buildcommands. Any solutions for this? I have trouble understanding that both the m2 eclipse plugin and the maven-eclipse plugin have not solved this issue. I would assume this is a common requirement for anybody using filters.