Skip to content

Instantly share code, notes, and snippets.

@gramian
Created September 11, 2025 06:39
Show Gist options
  • Select an option

  • Save gramian/8cea842421c7fda1ce7f57949895ed8c to your computer and use it in GitHub Desktop.

Select an option

Save gramian/8cea842421c7fda1ce7f57949895ed8c to your computer and use it in GitHub Desktop.
ArcadeDB Convenience Makefile for Non-Java Developers
export VERSION := $(shell mvn help:evaluate -Dexpression=project.version -q -DforceStdout)
export PASSWORD := arcadedb
export DATABASE := test
.PHONY: default build image test itest start console deps
default:
@echo "make # list available targets"
@echo "make build # build ArcadeDB"
@echo "make image # build ArcadeDB Docker image"
@echo "make test # build ArcadeDB and run basic tests"
@echo "make itest # build ArcadeDB and run integration tests"
@echo "make start # start ArcadeDB server"
@echo "make console # start ArcadeDB console"
@echo "make deps # list ArcadeDB dependencies by module"
build:
mvn clean install -DskipTests
image:
mvn clean install -DskipTests -Pdocker
test:
mvn clean install
itest:
mvn clean install -Pintegration
start:
package/target/arcadedb-${VERSION}.dir/arcadedb-${VERSION}/bin/server.sh \
-Darcadedb.server.rootPassword=${PASSWORD} \
-Darcadedb.server.defaultDatabases=${DATABASE}
console:
package/target/arcadedb-${VERSION}.dir/arcadedb-${VERSION}/bin/console.sh
deps:
mvn dependency:tree
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment