2023-10-02 18:23:36 -05:00

21 lines
560 B
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

TRICK_HOME := $(abspath $(dir $(lastword $(MAKEFILE_LIST)))../..)
JAVA_BUILD_DIR = ${TRICK_HOME}/libexec/trick/java/build
include ${TRICK_HOME}/share/trick/makefiles/Makefile.common
all:
@echo "Building java application..."
@${MVN} package -q -Dmaven.test.skip -Dcmake=false -Dmaven.wagon.http.retryHandler.count=15
test:
@echo "Building java tests..."
@${MVN} test --quiet -Dcmake=false -Dmaven.wagon.http.retryHandler.count=15
javadoc:
${MVN} javadoc:javadoc
clean:
rm -rf ${JAVA_BUILD_DIR}
@echo java build directory cleaned.