add support for sql:clean goal
------------------------------

                 Key: MSQL-58
                 URL: http://jira.codehaus.org/browse/MSQL-58
             Project: Maven 2.x SQL Plugin
          Issue Type: New Feature
            Reporter: Johan Romme
         Attachments: sql-clean.diff

For a long time I've been using a pl/sql script to clean an oracle database 
schema from it's meta information when preparing for a build. This script was 
launched using the sql-maven-plugin. Newer projects used other databases 
(ingres, sqlserver and mysql), so we created scripting to clean those 
databases/schemas also. 

Not really happy with the mixed maven/sql I started working on sql-maven-plugin 
to add a 'clean' goal, where the sql details are no longer needed in each 
project.

Attached to the issue a patch (svn diff) containing the changes for this new 
feature.

Please note that for many configurations this clean task can be replaced with a 
simple dropdb/createdb (or something similar for the dialect), but for most of 
our configurations this was not acceptable.

Maybe, if others like this functionality, it can be added to the 
sql-maven-plugin.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
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


Reply via email to