File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
src/java_bytecode/library Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ add_subdirectory(src)
33add_subdirectory (unit)
44
55add_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)
Original file line number Diff line number Diff line change @@ -22,11 +22,14 @@ clean: clean_library
2222.PHONY : clean_library
2323clean_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
2828library :
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
You can’t perform that action at this time.
0 commit comments