Hi!
Use the h2-maven-plugin like this:
mvn com.edugility:h2-maven-plugin:1.0:spawn
That starts a new H2 TCP server. Then:
mvn com.edugility:h2-maven-plugin:1.0:stop
...will kill it gracefully.
| License |
License |
|---|---|
| Categories |
CategoriesMaven Build Tools H2 Data Databases |
| GroupId | GroupIdcom.edugility |
| ArtifactId | ArtifactIdh2-maven-plugin |
| Last Version | Last Version1.0 |
| Release Date | Release Date |
| Type | Typemaven-plugin |
| Description |
DescriptionH2 Maven Plugin
H2 Maven Plugin
|
| Project Organization |
Project Organization |
| Source Code Management |
Source Code Management |
| Filename | Size |
|---|---|
| h2-maven-plugin-1.0.pom | |
| h2-maven-plugin-1.0.jar | 11 KB |
| h2-maven-plugin-1.0-sources.jar | 8 KB |
| h2-maven-plugin-1.0-javadoc.jar | 55 KB |
| Browse |
<plugin>
<groupId>com.edugility</groupId>
<artifactId>h2-maven-plugin</artifactId>
<version>1.0</version>
</plugin>
| Group / Artifact | Type | Version |
|---|---|---|
| org.apache.maven : maven-core | jar | 3.0.3 |
| com.h2database : h2 | jar | 1.3.162 |
| Group / Artifact | Type | Version |
|---|---|---|
| junit : junit | jar | 4.10 |
| org.apache.maven.plugin-testing : maven-plugin-testing-harness | jar | 2.0-alpha-1 |
Hi!
Use the h2-maven-plugin like this:
mvn com.edugility:h2-maven-plugin:1.0:spawn
That starts a new H2 TCP server. Then:
mvn com.edugility:h2-maven-plugin:1.0:stop
...will kill it gracefully.