[ 
http://jira.codehaus.org/browse/MSQL-66?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=249356#action_249356
 ] 

Ludwig Magnusson commented on MSQL-66:
--------------------------------------

It worked. Nice simple solution.
Glad I didn't start working on a patch =)

I'll leave it up to any PM to close this issue if/as they se fit.

> New goal - verify
> -----------------
>
>                 Key: MSQL-66
>                 URL: http://jira.codehaus.org/browse/MSQL-66
>             Project: Maven 2.x SQL Plugin
>          Issue Type: New Feature
>            Reporter: Ludwig Magnusson
>
> Hello!
> I would like to add a new goal to the sql-maven-plugin called validate (or 
> something).
> The purpose is this:
> Sql is not always running on my computer and that of course causes the 
> sql-maven-plugin to fail since the sql files cannot be executed. Further on, 
> the files are executed late in the build process, firs they are generated. 
> The effect of this is that I sometimes wast 1.5 minutes of my life when 
> building my project since the build does not fail until the sql plugin is 
> executed.
> The solution:
> Add a new goal called verify. The only thing this goal does is to check the 
> connection specified in the plugin. If it can't communicate with the 
> database, the build fails with a nice error message. This goal would probably 
> be executed in the validate phase where maven checks that everything is ok.
> If this is something that sounds interesting, I'm willing to contribute. But 
> I'm checking here first since I suspect that it may require some 
> restrucruting of the sql-maven-plugin, such as moving common code to an 
> abstract superclass....

-- 
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