How to install XBee api into local maven repository

mvn install:install-file \
-DgroupId=com.rapplogic \
-DartifactId=xbee \
-Dversion=0.5.5 \
-Dfile=xbee-api-0.5.5.jar \
-Dpackaging=jar \
-DgeneratePom=true

Advertisements

H2 Database

How to start H2 database server:

~/programs/h2/bin$ java -cp h2*.jar org.h2.tools.Server -baseDir /tmp/pippoDB
Web server running on http://localhost:8082 (only local connections)
TCP server running on tcp://localhost:9092 (only local connections)
PG server running on pg://localhost:5435 (only local connections)