Liquibase and derby gives: Error closing derby cleanly

Hi,

I’m trying to set up derby together with maven and and liquibase. I want to create an embedded derby database and a table and it works but then when it’s finished i get a database exception that states that derby couldn’t be closed cleanly.

This locks the database so no one can connect to it.

Does anyone know anything about this problem?

What can I do to make sure Derby closes cleanly?

Maven version 4.0.0

Liquibase 5.3.5

Derby 10.13.1.1

   

     

        org.liquibase

        liquibase-maven-plugin

        3.5.3

       

            src/main/resources/release/changelog/changelog.xml

            org.apache.derby.jdbc.EmbeddedDriver

            jdbc:derby:target/db/test;create=true

            test

            false

       

       

           

                process-resources

               

                    updateSQL

               

           

       

     

   

 

  

 

   

      org.apache.derby

      derby