Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 824 Bytes

README.md

File metadata and controls

26 lines (17 loc) · 824 Bytes

h2 tcp server

An example how to run H2 TCP Server by using Maven ang Gradle build tools

gradle

see build.gradle.kts and settings.gradle.kts files

gradle copy h2
# gradle copy ; java -cp ./build/lib/*.jar org.h2.tools.Server -tcp -tcpAllowOthers -ifNotExists -web -webAllowOthers -baseDir ./build/

maven

see pom.xml file

mvn dependency:copy exec:exec
# mvn dependency:copy ; java -cp ./target/lib/*.jar org.h2.tools.Server -tcp -tcpAllowOthers -ifNotExists -web -webAllowOthers -baseDir ./target/

docker

See H2 Dockerfile for the reference

NOTE: This project has been based on GitHub: daggerok/main-starter