Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Blocker
-
Resolution: Unresolved
-
Affects Version/s: 1.3
-
Fix Version/s: None
-
Labels:None
-
Environment:Maven 2.2.1,
jRockit (Java 6)
-
Number of attachments :
Description
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...
Issue Links
- is related to
-
MANTRUN-119
copy task does not respect failonerror=false
-
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