fix build failure due to buildnumber-maven-plugin updated
This commit is contained in:
parent
596d003c95
commit
8e31a3f2c0
13
openjpa.spec
13
openjpa.spec
@ -1,7 +1,7 @@
|
||||
%global with_tests 0
|
||||
Name: openjpa
|
||||
Version: 2.4.1
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: Java Persistence 2.0 API
|
||||
License: BSD and Apache-2.0 and CDDL and GPLv2+
|
||||
Url: http://openjpa.apache.org/
|
||||
@ -34,12 +34,16 @@ BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
|
||||
BuildRequires: mvn(org.apache.maven.plugins:maven-site-plugin)
|
||||
BuildRequires: mvn(org.apache.xbean:xbean-finder)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||
BuildRequires: mvn(org.hibernate.javax.persistence:hibernate-jpa-2.0-api) mvn(org.jmock:jmock)
|
||||
BuildRequires: mvn(org.jmock:jmock-junit4) mvn(org.osgi:org.osgi.core) mvn(org.ow2.asm:asm)
|
||||
BuildRequires: mvn(org.slf4j:slf4j-api) mvn(postgresql:postgresql)
|
||||
BuildRequires: mvn(org.eclipse.aether:aether-connector-basic)
|
||||
BuildRequires: mvn(org.eclipse.aether:aether-transport-wagon)
|
||||
BuildRequires: mvn(org.apache.maven.wagon:wagon-http)
|
||||
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
||||
BuildRequires: subversion
|
||||
%if 0
|
||||
BuildRequires: mvn(mariadb:mariadb-connector-java)
|
||||
%endif
|
||||
@ -124,7 +128,7 @@ sed -i "s|org.apache.xbean.asm5|org.objectweb.asm|" \
|
||||
|
||||
%build
|
||||
export MAVEN_OPTS="-Xms1024m -Xmx2048m -Xss5m"
|
||||
%mvn_build -- \
|
||||
%mvn_build -b -- \
|
||||
%if %{with_tests}
|
||||
-Ptest-derby \
|
||||
%else
|
||||
@ -152,6 +156,9 @@ install -p -m 644 %{name}-ant %{buildroot}%{_sysconfdir}/ant.d/%{name}
|
||||
%license LICENSE NOTICE
|
||||
|
||||
%changelog
|
||||
* Fri Aug 18 2023 Ge Wang <wang__ge@126.com> - 2.4.1-5
|
||||
- Fix build failure due to buildnumber-maven-plugin updated
|
||||
|
||||
* Wed Feb 3 2021 wutao <wutao61@huawei.com> - 2.4.1-4
|
||||
- remove httpunit dependency
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user