halt build on oracle package creation error

I am using liquibase to create package in Oracle database
If package is created with error build continues even if failOnError=“true”.
In database I see package created with errors. I want to halt the process if package is created with errors.
Does any one know how to fix?


  You are correct JDBC does not return error when package is created with warnings.
   As you suggested I added additional change set to check for package state.


I haven’t done much with oracle packages. The JDBC driver must not return an error. Is there a way to check the package was created through SQL afterwords? You could add a in a changeset following if so.