Support of resource as an SQL script
------------------------------------
Key: MSQL-77
URL: https://jira.codehaus.org/browse/MSQL-77
Project: Maven 2.x SQL Plugin
Issue Type: Improvement
Affects Versions: 1.5, 1.4
Reporter: Sébastien Gérard
Currently, it is only possible to specify SQL files (cfr.
http://mojo.codehaus.org/sql-maven-plugin/execute-mojo.html#srcFiles). It could
be interesting to also support resources. It means introducing a new parameter
like "resourceFiles".
That way, a project could rely on another project by specifying SQL scripts
contained in the other project by doing something like:
{code:xml}
<resourcesFiles>
<resourceFile>com/myCompany/my-sql-script.ddl</resourceFile>
</resourcesFiles>
{code}
where {{my-sql-script.ddl}} is a file contained in the classpath.
Currently, we can do that by unpacking the other project in the target
directory and referring those unpacked scripts. But that solution is too
verbose.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email