mvn process-test-resources eclipse:eclipse or in your first example just do mvn process-test-resources
On Mon, Mar 2, 2009 at 11:48 AM, Davis Ford <[email protected]> wrote: > 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] > >
