-
Notifications
You must be signed in to change notification settings - Fork 7
/
Makefile
32 lines (25 loc) · 927 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
.PHONY: test jar code-coverage run clean
test:
mvn clean checkstyle:check test
jar:
mvn clean checkstyle:check package
jar-no-test:
mvn -Dmaven.test.skip=true clean checkstyle:check package
code-coverage:
mvn clean clover2:setup test clover2:aggregate clover2:clover
run: jar
@java -Djavax.security.auth.useSubjectCredsOnly=false \
-Dlog4j.configuration=file:src/main/resources/dev-log4j.properties \
-jar target/cubed.jar \
--version v0.0.0 \
--schema-files-dir src/test/resources/schemas/ \
--db-config-file src/main/resources/database-configuration.properties
run-no-test:
@java -Djavax.security.auth.useSubjectCredsOnly=false \
-Dlog4j.configuration=file:src/main/resources/dev-log4j.properties \
-jar target/cubed.jar \
--version v0.0.0 \
--schema-files-dir src/test/resources/schemas/ \
--db-config-file src/main/resources/database-configuration.properties
clean:
mvn clean