Good point! :-) > -----Original Message----- > From: Stephen Connolly [mailto:stephen.alan.conno...@gmail.com] > Sent: Montag, 30. Juli 2012 16:11 > To: Maven Users List > Subject: Re: Failsafe Plugin: How to get resource dependencies for > integration-tests? > > I suggest binding to the pre-integration-test phase as there is no > guarantee that the dependency plugin will always execute before > failsafe if you are binding to the integration-test phase > > On 30 July 2012 11:12, Markus Karg <k...@quipsy.de> wrote: > > > Thanks to all for all the kind help! > > > > In fact I made it work, and the solution is as simple as using the > > dependency plugin: > > > > <plugin> > > <artifactId>maven-dependency-plugin</artifactId> > > <version>2.4</version> > > <executions> > > <execution> > > <id>copy</id> > > <phase>integration-test</phase> > > <goals> > > <goal>copy</goal> > > </goals> > > <configuration> > > <artifactItems> > > <artifactItem> > > <groupId>G</groupId> > > > <artifactId>A</artifactId> > > <version>V</version> > > <type>db</type> > > > > <destFileName>myDbFile.db</destFileName> > > </artifactItem> > > </artifactItems> > > </configuration> > > </execution> > > </executions> > > </plugin> > > > > Regards > > Markus > > > > -----Ursprüngliche Nachricht----- > > Von: Laird Nelson [mailto:ljnel...@gmail.com] > > Gesendet: Freitag, 27. Juli 2012 17:31 > > An: Maven Users List > > Betreff: Re: Failsafe Plugin: How to get resource dependencies for > > integration-tests? > > > > On Fri, Jul 27, 2012 at 7:27 AM, Martin Gainty <mgai...@hotmail.com> > > wrote: > > > > > Marcus > > > you can copy applicable resources with maven-resources-plugin > > > > > http://maven.apache.org/plugins/maven-resources-plugin/examples/copy- > resources.htmljustrememberto hook the phase you want to bind to e.g. > > > <phase>validate</phase>maven phases are listed here: > > > http://maven.apache.org/guides/introduction/introduction-to-the- > life > > > cy > > > cle.html > > > > > > You might also find this helpful: > > http://maven.apache.org/plugins/maven-remote-resources-plugin/ > > > > Best, > > Laird > > > > -- > > http://about.me/lairdnelson > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > > For additional commands, e-mail: users-h...@maven.apache.org > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org