Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ env:
java_distribution: zulu
javadoc_version: 24 # newer than `java_version` for better javadoc
groovy_version: 4.x
#CCDB_CONNECTION: 'sqlite:////cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/ccdb/ccdb_latest.sqlite'
CCDB_CONNECTION: 'sqlite:////cvmfs/oasis.opensciencegrid.org/jlab/hallb/clas12/sw/noarch/data/ccdb/ccdb_latest.sqlite'
nthreads: 1

jobs:
Expand Down
11 changes: 10 additions & 1 deletion build-coatjava.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ usage='''build-coatjava.sh [OPTIONS]... [MAVEN_OPTIONS]...
--spotbugs also run spotbugs plugin
--unittests also run unit tests

--depana run dependency analysis (only)

--quiet run more quietly
--no-progress no download progress printouts

Expand All @@ -30,6 +32,7 @@ usage='''build-coatjava.sh [OPTIONS]... [MAVEN_OPTIONS]...
'''

cleanBuild="no"
anaDepends="no"
runSpotBugs="no"
downloadMaps="yes"
runUnitTests="no"
Expand All @@ -45,6 +48,7 @@ do
--nomaps) downloadMaps="no" ;;
--unittests) runUnitTests="yes" ;;
--clean) cleanBuild="yes" ;;
--depana) anaDepends="yes" ;;
--quiet)
mvnArgs+=(--quiet --batch-mode)
wgetArgs+=(--quiet)
Expand Down Expand Up @@ -100,7 +104,6 @@ download () {
return $ret
}


# download the default field maps, as defined in libexec/env.sh:
# (and duplicated in etc/services/reconstruction.yaml):
source libexec/env.sh --no-classpath
Expand Down Expand Up @@ -142,6 +145,12 @@ if [ $cleanBuild == "yes" ]; then
exit
fi

if [ $anaDepends == "yes" ]; then
mvn dependency:analyze -DfailOnWarning=true -pl '!org.jlab.coat:coat-libs' --no-transfer-progress
mvn dependency:tree -Ddetail=true --no-transfer-progress
exit 0
fi

# start new installation tree
mkdir -p $prefix_dir
cp -r bin $prefix_dir/
Expand Down
Loading