!10 Skip Maven Unit Test
From: @wuzhen36 Reviewed-by: @wangchong1995924 Signed-off-by: @wangchong1995924
This commit is contained in:
commit
b56a00054e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user