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)
3
3
add_subdirectory (unit )
4
4
5
5
add_custom_target (java-models-library ALL
6
- COMMAND mvn package
6
+ COMMAND mvn --quiet -Dmaven.test.skip=true package
7
7
COMMAND cp target /core-models.jar ${CMAKE_CURRENT_SOURCE_DIR} /src/java_bytecode/library/
8
8
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} /lib/java-models-library
9
9
)
Original file line number Diff line number Diff line change @@ -22,11 +22,14 @@ clean: clean_library
22
22
.PHONY : clean_library
23
23
clean_library :
24
24
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
26
26
27
27
.PHONY : library
28
28
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
30
33
31
34
# ##############################################################################
32
35
You can’t perform that action at this time.
0 commit comments