Use maven quick profile in tox-verify job 54/108454/1
authorGilles Thouenon <gilles.thouenon@orange.com>
Mon, 16 Oct 2023 09:07:19 +0000 (11:07 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Mon, 16 Oct 2023 09:07:19 +0000 (11:07 +0200)
Quick profile allows to disable test, code analysis, javadoc generation
and so on.

JIRA: TRNSPRTPCE-767
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I20166dd309e46229fe698e7e12879272ad3eb083

tests/build_controller.sh

index d250dcf1cae94ca0f885a7ac31e99a326cb144a4..00a8fe28b88b5576555ba92f80eb15cca00d9088 100755 (executable)
@@ -19,7 +19,7 @@ fi
 
 #build controller, source JDK_JAVA_OPTIONS to remove illegal reflective acces warnings introduced by Java11
 . "$current_dir"/reflectwarn.sh
-mvn clean install -B -q -s tests/odl_settings.xml -DskipTests -Dmaven.javadoc.skip=true -Dodlparent.spotbugs.skip -Dodlparent.checkstyle.skip
+mvn clean install -B -q -s tests/odl_settings.xml -Pq
 
 #patch Karaf exec for the same reason at runtime and also to have the possibility to use alternative ports
 ./karaf/target/assembly/ressources/post_install_for_tests.sh