!2 Solving the problem that bval compilation fails duo to xstream upgrade
From: @houyingchao Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
158f77b838
26
bval.spec
26
bval.spec
@ -1,7 +1,7 @@
|
|||||||
%bcond_with commons-weaver
|
%bcond_with commons-weaver
|
||||||
Name: bval
|
Name: bval
|
||||||
Version: 1.1.1
|
Version: 1.1.1
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Apache Bean Validation
|
Summary: Apache Bean Validation
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
Url: http://bval.apache.org/
|
Url: http://bval.apache.org/
|
||||||
@ -31,6 +31,7 @@ BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
|
|||||||
BuildRequires: mvn(org.codehaus.mojo:jaxb2-maven-plugin) mvn(org.freemarker:freemarker)
|
BuildRequires: mvn(org.codehaus.mojo:jaxb2-maven-plugin) mvn(org.freemarker:freemarker)
|
||||||
BuildRequires: mvn(org.hibernate.javax.persistence:hibernate-jpa-2.1-api)
|
BuildRequires: mvn(org.hibernate.javax.persistence:hibernate-jpa-2.1-api)
|
||||||
BuildRequires: mvn(org.mockito:mockito-core) mvn(xpp3:xpp3)
|
BuildRequires: mvn(org.mockito:mockito-core) mvn(xpp3:xpp3)
|
||||||
|
BuildRequires: mvn(org.apache.bval:bval-xstream)
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -45,12 +46,6 @@ Summary: Apache BVal :: Extras
|
|||||||
%description extras
|
%description extras
|
||||||
BVal - non-JSR303 routines and constraints.
|
BVal - non-JSR303 routines and constraints.
|
||||||
|
|
||||||
%package json
|
|
||||||
Summary: Apache BVal :: JSON
|
|
||||||
|
|
||||||
%description json
|
|
||||||
BVal - Optional JSON Component.
|
|
||||||
|
|
||||||
%package jsr
|
%package jsr
|
||||||
Summary: Apache BVal :: JSR 349
|
Summary: Apache BVal :: JSR 349
|
||||||
|
|
||||||
@ -63,12 +58,6 @@ Summary: Apache BVal :: Parent POM
|
|||||||
%description parent
|
%description parent
|
||||||
Apache BVal Parent POM.
|
Apache BVal Parent POM.
|
||||||
|
|
||||||
%package xstream
|
|
||||||
Summary: Apache BVal :: XStream
|
|
||||||
|
|
||||||
%description xstream
|
|
||||||
BVal XML Metadata with XStream.
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
Summary: Javadoc for %{name}
|
Summary: Javadoc for %{name}
|
||||||
|
|
||||||
@ -82,13 +71,13 @@ find . -name "*.jar" -delete
|
|||||||
%pom_disable_module bval-tck
|
%pom_disable_module bval-tck
|
||||||
%pom_disable_module bval-tck11
|
%pom_disable_module bval-tck11
|
||||||
%pom_disable_module bundle
|
%pom_disable_module bundle
|
||||||
|
%pom_disable_module bval-xstream
|
||||||
|
%pom_disable_module bval-json
|
||||||
%pom_xpath_remove pom:Embed-Dependency bundle
|
%pom_xpath_remove pom:Embed-Dependency bundle
|
||||||
%pom_remove_plugin -r :findbugs-maven-plugin
|
%pom_remove_plugin -r :findbugs-maven-plugin
|
||||||
%pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin
|
%pom_remove_plugin org.codehaus.mojo:ianal-maven-plugin
|
||||||
%pom_remove_plugin org.codehaus.mojo:jdepend-maven-plugin
|
%pom_remove_plugin org.codehaus.mojo:jdepend-maven-plugin
|
||||||
%pom_remove_plugin -r :maven-source-plugin
|
%pom_remove_plugin -r :maven-source-plugin
|
||||||
%pom_add_dep xpp3:xpp3:1.1.4c:test %{name}-json
|
|
||||||
%pom_add_dep xpp3:xpp3:1.1.4c:test %{name}-xstream
|
|
||||||
%if %{without commons-weaver}
|
%if %{without commons-weaver}
|
||||||
%pom_remove_plugin -r :commons-weaver-maven-plugin
|
%pom_remove_plugin -r :commons-weaver-maven-plugin
|
||||||
%pom_remove_dep -r :commons-weaver-privilizer-api
|
%pom_remove_dep -r :commons-weaver-privilizer-api
|
||||||
@ -144,18 +133,17 @@ sed -i '/Privileged/d' \
|
|||||||
|
|
||||||
%files extras -f .mfiles-%{name}-extras
|
%files extras -f .mfiles-%{name}-extras
|
||||||
|
|
||||||
%files json -f .mfiles-%{name}-json
|
|
||||||
|
|
||||||
%files jsr -f .mfiles-%{name}-jsr
|
%files jsr -f .mfiles-%{name}-jsr
|
||||||
|
|
||||||
%files parent -f .mfiles-%{name}-parent
|
%files parent -f .mfiles-%{name}-parent
|
||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%files xstream -f .mfiles-%{name}-xstream
|
|
||||||
|
|
||||||
%files javadoc -f .mfiles-javadoc
|
%files javadoc -f .mfiles-javadoc
|
||||||
%license LICENSE NOTICE
|
%license LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Sep 4 2021 houyingchao <houyingchao@huawei.com> - 1.1.1-2
|
||||||
|
- Solving the problem that bval compilation fails due to xstream upgrade
|
||||||
|
|
||||||
* Fri Aug 14 2020 leiju <leiju4@huawei.com> - 1.1.1-1
|
* Fri Aug 14 2020 leiju <leiju4@huawei.com> - 1.1.1-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user