!4 Fix build failure due to buildnumber-maven-plugin updated
From: @wang--ge Reviewed-by: @caodongxia Signed-off-by: @caodongxia
This commit is contained in:
commit
71719a431d
12
jacoco.spec
12
jacoco.spec
@ -1,6 +1,6 @@
|
|||||||
Name: jacoco
|
Name: jacoco
|
||||||
Version: 0.7.8
|
Version: 0.7.8
|
||||||
Release: 2
|
Release: 3
|
||||||
Summary: Java Code Coverage for Eclipse
|
Summary: Java Code Coverage for Eclipse
|
||||||
License: EPL-1.0 and Apache-2.0
|
License: EPL-1.0 and Apache-2.0
|
||||||
URL: http://www.eclemma.org/jacoco/
|
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.reporting:maven-reporting-impl)
|
||||||
BuildRequires: mvn(org.apache.maven.shared:file-management)
|
BuildRequires: mvn(org.apache.maven.shared:file-management)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
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.codehaus.plexus:plexus-utils) mvn(org.jacoco:org.jacoco.build:pom:)
|
||||||
BuildRequires: mvn(org.ow2.asm:asm-debug-all) dos2unix
|
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
|
%description
|
||||||
JaCoCo is a free code coverage library for Java,
|
JaCoCo is a free code coverage library for Java,
|
||||||
which has been created by the EclEmma team based on the lessons learned
|
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
|
</execution>' org.jacoco.build/pom.xml
|
||||||
|
|
||||||
%build
|
%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`
|
a=`find org.jacoco.agent.rt/target/ | grep jar | grep -v -e sources -e all`
|
||||||
for x in $a ; do
|
for x in $a ; do
|
||||||
jar -umf %{SOURCE1} $x
|
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
|
%files javadoc -f .mfiles-javadoc
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed May 11 2022 liyanan <liyanan32@h-partners.com> - 0.7.8-2
|
||||||
- License compliance rectification
|
- License compliance rectification
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user