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
4141 ant init_configs
4242 ant install_code
4343 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
4449fi
4550
4651# Run security-analyser
4752cd $SECURITY_SCANNER_HOME
4853
4954python3 $SCRIPT_DIR /../../driver/run.py \
5055-C $SCRIPT_DIR /DSpace_rules.json \
51- -I $DEPLOY_DIR /webapps/jspui \
56+ -I $DEPLOY_DIR /fake_build \
5257-L $SCRIPT_DIR /DSpace_files/DI/target \
5358-R $OUTPUT_DIR /DSpace/results \
5459-T $OUTPUT_DIR /DSpace/temp \
You can’t perform that action at this time.
0 commit comments