Maven Antrun Plugin
  1. Maven Antrun Plugin
  2. MANTRUN-120

sql task does not respect onerror=continue

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Maven 2.2.1,
      jRockit (Java 6)
    • Number of attachments :
      0

      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

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              René Zanner
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: