Compare commits
No commits in common. "c8-beta-stream-202201" and "c8-stream-201902" have entirely different histories.
c8-beta-st
...
c8-stream-
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/maven-plugin-testing-3.3.0-source-release.zip
|
||||||
@ -0,0 +1 @@
|
|||||||
|
323812b9b5ce00a247375f12c27f4f6019258089 SOURCES/maven-plugin-testing-3.3.0-source-release.zip
|
||||||
@ -1,33 +0,0 @@
|
|||||||
From 4dc38f384dab2d825e1ab6f7df018650b6aeded1 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Marian Koncek <mkoncek@redhat.com>
|
|
||||||
Date: Fri, 17 Dec 2021 13:42:11 +0100
|
|
||||||
Subject: [PATCH] Port to maven 3.8.1
|
|
||||||
|
|
||||||
---
|
|
||||||
.../plugin/testing/stubs/StubArtifactRepository.java | 12 ++++++++++++
|
|
||||||
1 file changed, 12 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/StubArtifactRepository.java b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/StubArtifactRepository.java
|
|
||||||
index 9a435b7..c13c3a8 100644
|
|
||||||
--- a/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/StubArtifactRepository.java
|
|
||||||
+++ b/maven-plugin-testing-harness/src/main/java/org/apache/maven/plugin/testing/stubs/StubArtifactRepository.java
|
|
||||||
@@ -247,4 +247,16 @@ public class StubArtifactRepository
|
|
||||||
{
|
|
||||||
// no op
|
|
||||||
}
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public boolean isBlocked()
|
|
||||||
+ {
|
|
||||||
+ throw new UnsupportedOperationException();
|
|
||||||
+ }
|
|
||||||
+
|
|
||||||
+ @Override
|
|
||||||
+ public void setBlocked(boolean blocked)
|
|
||||||
+ {
|
|
||||||
+ throw new UnsupportedOperationException();
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
--
|
|
||||||
2.31.1
|
|
||||||
|
|
||||||
Binary file not shown.
@ -1,23 +1,16 @@
|
|||||||
%bcond_with bootstrap
|
|
||||||
|
|
||||||
Name: maven-plugin-testing
|
Name: maven-plugin-testing
|
||||||
Version: 3.3.0
|
Version: 3.3.0
|
||||||
Release: 26%{?dist}
|
Release: 14%{?dist}
|
||||||
Summary: Maven Plugin Testing
|
Summary: Maven Plugin Testing
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: http://maven.apache.org/plugin-testing/
|
URL: http://maven.apache.org/plugin-testing/
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
ExclusiveArch: %{java_arches} noarch
|
|
||||||
|
|
||||||
Source0: http://repo1.maven.org/maven2/org/apache/maven/plugin-testing/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
Source0: http://repo1.maven.org/maven2/org/apache/maven/plugin-testing/%{name}/%{version}/%{name}-%{version}-source-release.zip
|
||||||
|
|
||||||
Patch0: 0001-Port-to-plexus-utils-3.0.21.patch
|
Patch0: 0001-Port-to-plexus-utils-3.0.21.patch
|
||||||
Patch1: 0002-Port-to-current-maven-artifact.patch
|
Patch1: 0002-Port-to-current-maven-artifact.patch
|
||||||
Patch2: 0003-Port-to-maven-3.8.1.patch
|
|
||||||
|
|
||||||
%if %{with bootstrap}
|
|
||||||
BuildRequires: javapackages-bootstrap
|
|
||||||
%else
|
|
||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(commons-io:commons-io)
|
BuildRequires: mvn(commons-io:commons-io)
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
@ -27,9 +20,13 @@ BuildRequires: mvn(org.apache.maven:maven-core)
|
|||||||
BuildRequires: mvn(org.apache.maven:maven-model)
|
BuildRequires: mvn(org.apache.maven:maven-model)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
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-archiver)
|
||||||
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-utils)
|
||||||
%endif
|
BuildRequires: mvn(org.easymock:easymock)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Maven Plugin Testing contains the necessary modules
|
The Maven Plugin Testing contains the necessary modules
|
||||||
@ -47,24 +44,36 @@ Summary: Maven Plugin Testing Mechanism
|
|||||||
%description harness
|
%description harness
|
||||||
The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
|
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
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%pom_remove_plugin :maven-enforcer-plugin
|
%pom_remove_plugin :maven-enforcer-plugin
|
||||||
%pom_remove_plugin :maven-site-plugin
|
%pom_remove_plugin :maven-site-plugin
|
||||||
%pom_remove_plugin :maven-source-plugin maven-plugin-testing-harness
|
|
||||||
|
|
||||||
%pom_disable_module maven-plugin-testing-tools
|
sed -i -e "s/MockControl/IMocksControl/g" maven-test-tools/src/main/java/org/apache/maven/shared/tools/easymock/MockManager.java
|
||||||
%pom_disable_module maven-test-tools
|
|
||||||
|
# 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:
|
%mvn_alias : org.apache.maven.shared:
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build -s -- -Dmaven.compiler.source=1.7 -Dmaven.compiler.target=1.7
|
%mvn_build -s
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%mvn_install
|
%mvn_install
|
||||||
@ -72,59 +81,18 @@ The Maven Plugin Testing Harness provides mechanisms to manage tests on Mojo.
|
|||||||
%files -f .mfiles-%{name}
|
%files -f .mfiles-%{name}
|
||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
%files harness -f .mfiles-%{name}-harness
|
%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
|
%files javadoc -f .mfiles-javadoc
|
||||||
%doc LICENSE NOTICE
|
%doc LICENSE NOTICE
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-26
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 3.3.0-25
|
|
||||||
- Rebuilt for java-17-openjdk as system jdk
|
|
||||||
|
|
||||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-24
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Wed Jan 05 2022 Marian Koncek <mkoncek@redhat.com> - 3.3.0-23
|
|
||||||
- Port to maven 3.8.1
|
|
||||||
|
|
||||||
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-22
|
|
||||||
- Set explicit Java compiler source/target levels to 1.7
|
|
||||||
|
|
||||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.0-21
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* 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
|
* Tue Nov 05 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-14
|
||||||
- Mass rebuild for javapackages-tools 201902
|
- 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
|
* Fri May 24 2019 Mikolaj Izdebski <mizdebsk@redhat.com> - 3.3.0-13
|
||||||
- Mass rebuild for javapackages-tools 201901
|
- 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
|
* Fri Feb 09 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 3.3.0-12
|
||||||
- Escape macros in %%changelog
|
- Escape macros in %%changelog
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user