fix build failure due to buildnumber-maven-plugin updated
This commit is contained in:
parent
f465de5ae8
commit
065d628351
12
jacoco.spec
12
jacoco.spec
@ -1,6 +1,6 @@
|
||||
Name: jacoco
|
||||
Version: 0.7.8
|
||||
Release: 2
|
||||
Release: 3
|
||||
Summary: Java Code Coverage for Eclipse
|
||||
License: EPL-1.0 and Apache-2.0
|
||||
URL: http://www.eclemma.org/jacoco/
|
||||
@ -21,9 +21,12 @@ BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api)
|
||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl)
|
||||
BuildRequires: mvn(org.apache.maven.shared:file-management)
|
||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.mojo:buildnumber-maven-plugin)
|
||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils) mvn(org.jacoco:org.jacoco.build:pom:)
|
||||
BuildRequires: mvn(org.ow2.asm:asm-debug-all) dos2unix
|
||||
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)
|
||||
%description
|
||||
JaCoCo is a free code coverage library for Java,
|
||||
which has been created by the EclEmma team based on the lessons learned
|
||||
@ -66,7 +69,7 @@ sed -i -e "s|nb-configuration.xml|nb-configuration.xml,build.xml, pom.xml|g" org
|
||||
</execution>' org.jacoco.build/pom.xml
|
||||
|
||||
%build
|
||||
%mvn_build -- -Dproject.build.sourceEncoding=UTF-8
|
||||
%mvn_build -b -- -Dproject.build.sourceEncoding=UTF-8
|
||||
a=`find org.jacoco.agent.rt/target/ | grep jar | grep -v -e sources -e all`
|
||||
for x in $a ; do
|
||||
jar -umf %{SOURCE1} $x
|
||||
@ -88,6 +91,9 @@ echo %{name} %{name}/org.jacoco.ant objectweb-asm/asm-debug-all > %{buildroot}%{
|
||||
%files javadoc -f .mfiles-javadoc
|
||||
|
||||
%changelog
|
||||
* Fri Aug 18 2023 Ge Wang <wang__ge@126.com> - 0.7.8-3
|
||||
- Fix build failure due to buildnumber-maven-plugin updated
|
||||
|
||||
* Wed May 11 2022 liyanan <liyanan32@h-partners.com> - 0.7.8-2
|
||||
- License compliance rectification
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user