File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -41,14 +41,19 @@ if [[ ! -d $REPO_DIR ]]; then
41
41
ant init_configs
42
42
ant install_code
43
43
ant copy_webapps
44
+
45
+ # To exclude libraries we move only what we need to another directory
46
+ mkdir -p $DEPLOY_DIR /fake_build/WEB-INF/lib
47
+ cp -r $DEPLOY_DIR /webapps/jspui/WEB-INF/classes $DEPLOY_DIR /fake_build/WEB-INF
48
+ cp $DEPLOY_DIR /webapps/jspui/WEB-INF/lib/dspace-api-6.0-SNAPSHOT.jar $DEPLOY_DIR /fake_build/WEB-INF/lib
44
49
fi
45
50
46
51
# Run security-analyser
47
52
cd $SECURITY_SCANNER_HOME
48
53
49
54
python3 $SCRIPT_DIR /../../driver/run.py \
50
55
-C $SCRIPT_DIR /DSpace_rules.json \
51
- -I $DEPLOY_DIR /webapps/jspui \
56
+ -I $DEPLOY_DIR /fake_build \
52
57
-L $SCRIPT_DIR /DSpace_files/DI/target \
53
58
-R $OUTPUT_DIR /DSpace/results \
54
59
-T $OUTPUT_DIR /DSpace/temp \
You can’t perform that action at this time.
0 commit comments