Add missing test dependency on JUnit 4

This commit is contained in:
Mikolaj Izdebski 2022-04-29 13:53:24 +02:00
parent 1d26a75970
commit f416cb7044

View File

@ -2,7 +2,7 @@
Name: plexus-classworlds
Version: 2.6.0
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Plexus Classworlds Classloader Framework
License: ASL 2.0 and Plexus
URL: https://github.com/codehaus-plexus/plexus-classworlds
@ -14,6 +14,7 @@ BuildRequires: maven-local-openjdk8
%if %{with bootstrap}
BuildRequires: javapackages-bootstrap
%else
BuildRequires: mvn(junit:junit)
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
%endif
@ -35,6 +36,8 @@ classworlds.
%mvn_file : %{name} plexus/classworlds
%mvn_alias : classworlds:classworlds
%pom_add_dep junit:junit:4.13.1:test
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-dependency-plugin
@ -52,6 +55,9 @@ sed -i /testConfigure_Optionally_Existent/s/./@org.junit.Ignore/ $(find -name Co
%license LICENSE.txt LICENSE-2.0.txt
%changelog
* Fri Apr 29 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 2.6.0-11
- Add missing test dependency on JUnit 4
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 2.6.0-10
- Rebuilt for java-17-openjdk as system jdk