maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jochen Riedlinger (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (MANTRUN-120) sql task does not respect onerror=continue
Date Fri, 02 Oct 2009 14:12:47 GMT

    [ http://jira.codehaus.org/browse/MANTRUN-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=193196#action_193196
] 

Jochen Riedlinger commented on MANTRUN-120:
-------------------------------------------

we have exactly the same problem.
environment:
maven 2.2.1
sun jdk 1.5.0 update 11

...and it only occurs with the "sql" task

> sql task does not respect onerror=continue
> ------------------------------------------
>
>                 Key: MANTRUN-120
>                 URL: http://jira.codehaus.org/browse/MANTRUN-120
>             Project: Maven 2.x 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 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

       

Mime
View raw message