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.htmljustremember > to 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-lifecy > 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