Skip to content

Commit d76194d

Browse files
authored
move jclara jar install earlier, for cleaner log finish (#1180)
1 parent 27cfec2 commit d76194d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

build-coatjava.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,10 @@ cp -r libexec $prefix_dir/
311311
which python3 >& /dev/null && python=python3 || python=python
312312
$python etc/bankdefs/util/bankSplit.py $prefix_dir/etc/bankdefs/hipo4 || exit 1
313313

314+
# use maven to copy a CLARA jar to a separate directory:
315+
mvn org.apache.maven.plugins:maven-dependency-plugin:3.10.0:copy \
316+
-Dartifact=org.jlab.coda:jclara:4.3:jar -DoutputDirectory=$prefix_dir/lib/utils -DstripVersion=false
317+
314318
# build (and test)
315319
unset CLAS12DIR
316320
if $runUnitTests; then
@@ -325,7 +329,6 @@ if $runSpotBugs; then
325329
echo "spotbugs spotted no bugs!"
326330
fi
327331

328-
329332
################################################################################
330333
# install
331334
################################################################################
@@ -356,10 +359,6 @@ for pom in $(find common-tools -name pom.xml); do
356359
fi
357360
done
358361

359-
# install CLARA jar in separate directory:
360-
mvn org.apache.maven.plugins:maven-dependency-plugin:3.10.0:copy \
361-
-Dartifact=org.jlab.coda:jclara:4.3:jar -DoutputDirectory=$prefix_dir/lib/utils -DstripVersion=false
362-
363362
echo "installed coatjava to: $prefix_dir"
364363

365364
# install clara

0 commit comments

Comments
 (0)