File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change 2525 java_distribution : zulu
2626 javadoc_version : 24 # newer than `java_version` for better javadoc
2727 groovy_version : 4.x
28- # CCDB_CONNECTION: 'sqlite:////cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/ccdb/ccdb_latest.sqlite'
28+ CCDB_CONNECTION : ' sqlite:////cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/ccdb/ccdb_latest.sqlite'
2929 nthreads : 1
3030
3131jobs :
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ usage='''build-coatjava.sh [OPTIONS]... [MAVEN_OPTIONS]...
1616 --spotbugs also run spotbugs plugin
1717 --unittests also run unit tests
1818
19+ --depana run dependency analysis (only)
20+
1921 --quiet run more quietly
2022 --no-progress no download progress printouts
2123
@@ -30,6 +32,7 @@ usage='''build-coatjava.sh [OPTIONS]... [MAVEN_OPTIONS]...
3032' ' '
3133
3234cleanBuild=" no"
35+ anaDepends=" no"
3336runSpotBugs=" no"
3437downloadMaps=" yes"
3538runUnitTests=" no"
4548 --nomaps) downloadMaps=" no" ;;
4649 --unittests) runUnitTests=" yes" ;;
4750 --clean) cleanBuild=" yes" ;;
51+ --depana) anaDepends=" yes" ;;
4852 --quiet)
4953 mvnArgs+=(--quiet --batch-mode)
5054 wgetArgs+=(--quiet)
@@ -100,7 +104,6 @@ download () {
100104 return $ret
101105}
102106
103-
104107# download the default field maps, as defined in libexec/env.sh:
105108# (and duplicated in etc/services/reconstruction.yaml):
106109source libexec/env.sh --no-classpath
@@ -142,6 +145,12 @@ if [ $cleanBuild == "yes" ]; then
142145 exit
143146fi
144147
148+ if [ $anaDepends == " yes" ]; then
149+ mvn dependency:analyze -DfailOnWarning=true -pl ' !org.jlab.coat:coat-libs' --no-transfer-progress
150+ mvn dependency:tree -Ddetail=true --no-transfer-progress
151+ exit 0
152+ fi
153+
145154# start new installation tree
146155mkdir -p $prefix_dir
147156cp -r bin $prefix_dir /
You can’t perform that action at this time.
0 commit comments