You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@codehaus.org> on 2014/11/25 21:50:19 UTC

[jira] (MANTRUN-120) sql task does not respect onerror=continue

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

Michael Osipov closed MANTRUN-120.
----------------------------------

    Resolution: Won't Fix

Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

> sql task does not respect onerror=continue
> ------------------------------------------
>
>                 Key: MANTRUN-120
>                 URL: https://jira.codehaus.org/browse/MANTRUN-120
>             Project: Maven Antrun Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Maven 2.2.1,
> jRockit (Java 6)
>            Reporter: René Zanner
>            Priority: Blocker
>
> When defining an sql task, the antrun plugin propagates it's failure although "onerror" is set to "continue": the maven build just terminates without any meaningful error message.
> With antrun 1.2 it still works (the build continues in case of SQL error messages), but with the current version the build fails.
> Here are the last lines of my mvn output (I removed the irrelevant parts):
>       [sql] Executing resource: [...]\mut.database-schema.drop.sql
>       [sql] Failed to execute:   grant select on SEQ_MUT_A to rzanner
>       [sql] java.sql.SQLSyntaxErrorException: ORA-01749: [...]
> As you can see there is not even a "BUILD ERROR" message or something similar...



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)