# Justfile (https://just.systems/) for starting Maven standard targets

default: clean compile package

exec class args: compile
    mvn exec:java -Dexec.args="{{args}}" -Dexec.mainClass={{class}}
# exec class args: 
#     java -cp target/app.jar {{class}} {{args}}
clean:
    mvn clean
compile:
    mvn compile
test: compile
    mvn test
javadoc:
    mvn javadoc:javadoc
package: 
    mvn package
