!10 Skip Maven Unit Test

From: @wuzhen36
Reviewed-by: @wangchong1995924
Signed-off-by: @wangchong1995924
This commit is contained in:
openeuler-ci-bot 2021-09-27 07:12:21 +00:00 committed by Gitee
commit b56a00054e

View File

@ -1,7 +1,7 @@
%bcond_with jp_minimal
Name: jersey
Version: 2.29.1
Release: 1
Release: 2
Summary: JAX-RS (JSR 311) production quality Reference Implementation
License: (EPL-2.0 or GPLv2 with exceptions) and ASL 2.0
URL: https://github.com/eclipse-ee4j/jersey
@ -198,10 +198,11 @@ sed -i -e 's/javax\.activation\.\*;/javax.activation.*;resolution:=optional;/' c
%build
%if %{without jp_minimal}
%mvn_build -- -PsecurityOff -Dasm.version=6.2.1 -Dmaven.test.failure.ignore=true \
-Dexamples.excluded -Dtests.excluded -Dbundles.excluded
-Dexamples.excluded -Dtests.excluded -Dbundles.excluded -Dmaven.test.skip=true
%else
%mvn_build -f -- -PsecurityOff -Dasm.version=6.2.1 -Dmaven.test.failure.ignore=true \
-Dexamples.excluded -Dtests.excluded -Dbundles.excluded -Dtest-framework.excluded
-Dexamples.excluded -Dtests.excluded -Dbundles.excluded -Dtest-framework.excluded \
-Dmaven.test.skip=true
%endif
%install