9 #install maven and JDK11 on the Gate since they are not there by default
10 which mvn >/dev/null || ./installMavenCentOS.sh
13 if [ "$USE_LIGHTY" != "True" ]; then
14 for suffix in 121 221 71 _hybrid; do
16 cp -r karaf "karaf$suffix"
20 #build controller, source JDK_JAVA_OPTIONS to remove illegal reflective acces warnings introduced by Java11
21 . "$current_dir"/reflectwarn.sh
22 mvn clean install -B -q -s tests/odl_settings.xml -Pq
24 #patch Karaf exec for the same reason at runtime and also to have the possibility to use alternative ports
25 ./karaf/target/assembly/ressources/post_install_for_tests.sh
27 #build Lighty if needed
28 if [ "$USE_LIGHTY" = "True" ]; then