Hi, when I run the eclipse goal like this: mvn eclipse:eclipse I also want it to execute resources:testResources.
I tried something like this:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-eclipse-plugin</artifactId>
<executions>
<execution>
<id>eclipse</id>
<phase>process-test-resources</phase>
<goals>
<goal>eclipse</goal>
</goals>
</execution>
</executions>
</plugin>
But it doesn't work. If I put it in a profile like this, it does
work, but I don't want to have to have a profile for it. Is there a
way to accomplish this?
<profiles>
<profile>
<id>eclipse</id>
<build>
<defaultGoal>process-test-resources</defaultGoal>
<plugins>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<executions>
<execution>
<id>eclipse</id>
<phase>process-test-resources</phase>
<goals>
<goal>eclipse</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
--
Zeno Consulting, Inc.
home: http://www.zenoconsulting.biz
blog: http://zenoconsulting.wikidot.com
p: 248.894.4922
f: 313.884.2977
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
