|
|
|
|
@ -1,8 +1,6 @@
|
|
|
|
|
%bcond_with bootstrap
|
|
|
|
|
|
|
|
|
|
Name: maven-plugin-testing
|
|
|
|
|
Version: 3.3.0
|
|
|
|
|
Release: 23%{?dist}
|
|
|
|
|
Release: 14%{?dist}
|
|
|
|
|
Summary: Maven Plugin Testing
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: http://maven.apache.org/plugin-testing/
|
|
|
|
|
@ -14,9 +12,6 @@ Patch0: 0001-Port-to-plexus-utils-3.0.21.patch
|
|
|
|
|
Patch1: 0002-Port-to-current-maven-artifact.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: mvn(commons-io:commons-io)
|
|
|
|
|
BuildRequires: mvn(junit:junit)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-aether-provider)
|
|
|
|
|
@ -25,9 +20,13 @@ BuildRequires: mvn(org.apache.maven:maven-core)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-model)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.plugins:maven-source-plugin)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.shared:maven-invoker)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.wagon:wagon-file)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-archiver)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: mvn(org.easymock:easymock)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The Maven Plugin Testing contains the necessary modules
|
|
|
|
|
@ -45,6 +44,18 @@ Summary: Maven Plugin Testing Mechanism
|
|
|
|
|
%description harness
|
|
|
|
|
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
Summary: Maven Plugin Testing Tools
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
A set of useful tools to help the Maven Plugin testing.
|
|
|
|
|
|
|
|
|
|
%package -n maven-test-tools
|
|
|
|
|
Summary: Maven Testing Tool
|
|
|
|
|
|
|
|
|
|
%description -n maven-test-tools
|
|
|
|
|
Framework to test Maven Plugins with Easymock objects.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
@ -53,10 +64,11 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
|
|
|
|
|
|
|
|
|
|
%pom_remove_plugin :maven-enforcer-plugin
|
|
|
|
|
%pom_remove_plugin :maven-site-plugin
|
|
|
|
|
%pom_remove_plugin :maven-source-plugin maven-plugin-testing-harness
|
|
|
|
|
|
|
|
|
|
%pom_disable_module maven-plugin-testing-tools
|
|
|
|
|
%pom_disable_module maven-test-tools
|
|
|
|
|
sed -i -e "s/MockControl/IMocksControl/g" maven-test-tools/src/main/java/org/apache/maven/shared/tools/easymock/MockManager.java
|
|
|
|
|
|
|
|
|
|
# needs network for some reason
|
|
|
|
|
rm maven-plugin-testing-tools/src/test/java/org/apache/maven/shared/test/plugin/ProjectToolTest.java
|
|
|
|
|
|
|
|
|
|
%mvn_alias : org.apache.maven.shared:
|
|
|
|
|
|
|
|
|
|
@ -69,51 +81,18 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
|
|
|
|
|
%files -f .mfiles-%{name}
|
|
|
|
|
%doc LICENSE NOTICE
|
|
|
|
|
%files harness -f .mfiles-%{name}-harness
|
|
|
|
|
%files tools -f .mfiles-%{name}-tools
|
|
|
|
|
%files -n maven-test-tools -f .mfiles-maven-test-tools
|
|
|
|
|
%files javadoc -f .mfiles-javadoc
|
|
|
|
|
%doc LICENSE NOTICE
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 3.3.0-23
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-22
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-21
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-20
|
|
|
|
|
- Bootstrap build
|
|
|
|
|
- Non-bootstrap build
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-19
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 10 2020 Jiri Vanek <jvanek@redhat.com> - 3.3.0-17
|
|
|
|
|
- Rebuilt for JDK-11, see https://fedoraproject.org/wiki/Changes/Java11
|
|
|
|
|
|
|
|
|
|
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-14
|
|
|
|
|
- Mass rebuild for javapackages-tools 201902
|
|
|
|
|
|
|
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-13
|
|
|
|
|
- Mass rebuild for javapackages-tools 201901
|
|
|
|
|
|
|
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.0-12
|
|
|
|
|
- Escape macros in %%changelog
|
|
|
|
|
|