Skip to content

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

License

Notifications You must be signed in to change notification settings

daggerok/h2-tcp-server-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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