diff --git a/ci/check_java.sh b/ci/check_java.sh index ff76046efa..4e26b7a96f 100644 --- a/ci/check_java.sh +++ b/ci/check_java.sh @@ -18,8 +18,11 @@ export BC_JDK21=`openjdk_21` export JAVA_HOME=`openjdk_17` export PATH=$JAVA_HOME/bin:$PATH +# Checkstyle ./gradlew check -x test; - +# OSGI scanner only, no testing +./gradlew clean build -x test +./osgi_scan.sh diff --git a/osgi_scan.sh b/osgi_scan.sh new file mode 100755 index 0000000000..cdfb607b25 --- /dev/null +++ b/osgi_scan.sh @@ -0,0 +1,15 @@ +#!/bin/bash +set -e + +if ! command -v osgiscanner &> /dev/null +then + echo "osgiscanner not on path" + exit 1 +fi + +export script_loc=$( cd -- "$( dirname -- "$0" )" &> /dev/null && pwd ) +cd $script_loc + +export BCHOME=`pwd` + +osgiscanner -f osgi_scan.xml diff --git a/osgi_scan.xml b/osgi_scan.xml new file mode 100644 index 0000000000..9191223e24 --- /dev/null +++ b/osgi_scan.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ +
+ + + + + + + + +
+ +
+ +
+ +
+ +
+ + + + + \ No newline at end of file