Re: Sharing files between modules within the same project, for use by sql-maven-plugin

2009-12-21 Thread Dennis Lundberg
Thanks Roland! That worked like a charm. Roland Asmann wrote: > Hi, > > I guess you could patch the sql-plugin, but maybe you should use the > maven-dependency-plugin[1] to unpack your new module for the tests. Then > the sql-plugin can just read the unpacked file and you don't need to patch > a

Re: Sharing files between modules within the same project, for use by sql-maven-plugin

2009-12-18 Thread Roland Asmann
Hi, I guess you could patch the sql-plugin, but maybe you should use the maven-dependency-plugin[1] to unpack your new module for the tests. Then the sql-plugin can just read the unpacked file and you don't need to patch anything. [1] http://maven.apache.org/plugins/maven-dependency-plugin/unpack

Sharing files between modules within the same project, for use by sql-maven-plugin

2009-12-18 Thread Dennis Lundberg
Hi I'm facing a problem sharing files between modules. We have a multi module build where several of the modules have database tests that use the sql-maven-plugin to set up a test database. These modules needs to share two files: a DDL file that creates the tables and an SQL file that populates t