[ 
https://jira.codehaus.org/browse/MSQL-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MSQL-58.
------------------------------

    Resolution: Won't Fix
      Assignee: Robert Scholte

The SQL-maven-plugin is there to fire sql-statements. The patch contains a lot 
of database logic and that shouldn't be part of this plugin.
Although I can imagine that some develops would like such scripts, this is not 
the right place.

> add support for sql:clean goal
> ------------------------------
>
>                 Key: MSQL-58
>                 URL: https://jira.codehaus.org/browse/MSQL-58
>             Project: Maven 2.x SQL Plugin
>          Issue Type: New Feature
>            Reporter: Johan Romme
>            Assignee: Robert Scholte
>         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.
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