Permalink
Browse files

h2支持工具升级

  • Loading branch information...
1 parent 49c28a8 commit 8acc6790b73f7349d4af2c929568800f35769dfc 三寻 committed Dec 10, 2015
Showing with 16 additions and 6 deletions.
  1. +5 −1 support/h2/README.txt
  2. +1 −0 support/h2/h2-console.bat
  3. +3 −1 support/h2/h2-console.sh
  4. +1 −0 support/h2/h2-server.bat
  5. +3 −1 support/h2/h2-server.sh
  6. +3 −3 support/h2/pom.xml
@@ -1 +1,5 @@
-Command to open a H2 web console or run a standalone H2 Database server.
+使用命令启动H2数据库服务,对应脚本:
+
+1. h2-console.[sh|bat] -> 启动H2数据库控制台,
+ 在JDBC URL中输入:jdbc:h2:file:~/kft-activiti-demo;AUTO_SERVER=TRUE 后可以连接DEMO的默认数据库
+2. h2-server.[sh|bat] -> 作为Server启动服务
@@ -1,3 +1,4 @@
@echo off
+cd %~dp0
call mvn exec:java -Ph2console
pause
@@ -1,2 +1,4 @@
#!/bin/bash
-mvn exec:java -Ph2console
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+cd $DIR
+mvn exec:java -Ph2console
@@ -1,3 +1,4 @@
@echo off
+cd %~dp0
call mvn exec:java -Ph2server
pause
@@ -1,2 +1,4 @@
#!/bin/bash
-mvn exec:java -Ph2server
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+cd $DIR
+mvn exec:java -Ph2server
View
@@ -12,7 +12,7 @@
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
- <version>1.3.173</version>
+ <version>1.4.180</version>
<scope>runtime</scope>
</dependency>
</dependencies>
@@ -25,7 +25,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<executions>
<execution>
<goals>
@@ -52,7 +52,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
- <version>1.2.1</version>
+ <version>1.4.0</version>
<executions>
<execution>
<goals>

0 comments on commit 8acc679

Please sign in to comment.