Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: None
-
Labels:None
-
Number of attachments :
Description
I was using the maven-sql-plugin version 1.5 and we are using the derby emmedded database.
Before the test runs maven-sql-plugin executed the sql but not able to shutdown the derby as the maven-sql-plugin runs in the main maven process(this jvm is active)
so if i launch the test using sure-fire-plugin it is running in a different JVM and as it is emmedded database it is not allowing to start the database from the different JVM
and it leads to Error -> Caused by: ERROR XSDB6: Another instance of Derby may have already booted
it is possible to execute the maven-sql-plugin in differnt JVM ? so that when the execution completes it will shutdwon the derby emmedded databse correctly.
The option to fork would indeed be an improvement and would solve other issues as well.