Skip to content

Commit 370be28

Browse files
authored
Merge pull request #3172 from tautschnig/maven-quiet
Make maven invocations quiet
2 parents 419031b + 8f251b4 commit 370be28

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

jbmc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ add_subdirectory(src)
33
add_subdirectory(unit)
44

55
add_custom_target(java-models-library ALL
6-
COMMAND mvn package
6+
COMMAND mvn --quiet -Dmaven.test.skip=true package
77
COMMAND cp target/core-models.jar ${CMAKE_CURRENT_SOURCE_DIR}/src/java_bytecode/library/
88
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/lib/java-models-library
99
)

jbmc/src/java_bytecode/library/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ clean: clean_library
2222
.PHONY: clean_library
2323
clean_library:
2424
rm -rf core-models.jar
25-
if [ -d $(LIBRARY_DIR) ]; then cd $(LIBRARY_DIR); mvn clean; fi
25+
if [ -d $(LIBRARY_DIR) ]; then cd $(LIBRARY_DIR); mvn --quiet clean; fi
2626

2727
.PHONY: library
2828
library:
29-
if [ -d $(LIBRARY_DIR) ]; then (cd $(LIBRARY_DIR); mvn package); cp $(LIBRARY_DIR)/target/core-models.jar .; fi
29+
if [ -d $(LIBRARY_DIR) ]; then \
30+
(cd $(LIBRARY_DIR); mvn --quiet -Dmaven.test.skip=true package); \
31+
cp $(LIBRARY_DIR)/target/core-models.jar .; \
32+
fi
3033

3134
###############################################################################
3235

0 commit comments

Comments
 (0)