diff --git a/build-coatjava.sh b/build-coatjava.sh index 350c19f623..3bf00d346b 100755 --- a/build-coatjava.sh +++ b/build-coatjava.sh @@ -311,6 +311,10 @@ cp -r libexec $prefix_dir/ which python3 >& /dev/null && python=python3 || python=python $python etc/bankdefs/util/bankSplit.py $prefix_dir/etc/bankdefs/hipo4 || exit 1 +# use maven to copy a CLARA jar to a separate directory: +mvn org.apache.maven.plugins:maven-dependency-plugin:3.10.0:copy \ + -Dartifact=org.jlab.coda:jclara:4.3:jar -DoutputDirectory=$prefix_dir/lib/utils -DstripVersion=false + # build (and test) unset CLAS12DIR if $runUnitTests; then @@ -325,7 +329,6 @@ if $runSpotBugs; then echo "spotbugs spotted no bugs!" fi - ################################################################################ # install ################################################################################ @@ -356,10 +359,6 @@ for pom in $(find common-tools -name pom.xml); do fi done -# install CLARA jar in separate directory: -mvn org.apache.maven.plugins:maven-dependency-plugin:3.10.0:copy \ - -Dartifact=org.jlab.coda:jclara:4.3:jar -DoutputDirectory=$prefix_dir/lib/utils -DstripVersion=false - echo "installed coatjava to: $prefix_dir" # install clara