2024-05-12 15:21:16 -05:00

25 lines
738 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-headless:
@echo "Building gui-less java tests..."
@${MVN} test -Dcmake=false -Dmaven.wagon.http.retryHandler.count=15 -Djava.awt.headless=true
test:
@echo "Building java tests..."
@${MVN} test -Dcmake=false -Dmaven.wagon.http.retryHandler.count=15 -Djava.awt.headless=false
javadoc:
${MVN} javadoc:javadoc
clean:
rm -rf ${JAVA_BUILD_DIR}
@echo java build directory cleaned.