|
|
|
@ -6,14 +6,15 @@
|
|
|
|
|
|
|
|
|
|
Name: maven
|
|
|
|
|
Epoch: 1
|
|
|
|
|
Version: 3.6.3
|
|
|
|
|
Release: 19%{?dist}
|
|
|
|
|
Version: 3.8.5
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Summary: Java project management and project comprehension tool
|
|
|
|
|
# maven itself is ASL 2.0
|
|
|
|
|
# bundled slf4j is MIT
|
|
|
|
|
License: ASL 2.0 and MIT
|
|
|
|
|
URL: https://maven.apache.org/
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
ExclusiveArch: %{java_arches} noarch
|
|
|
|
|
|
|
|
|
|
Source0: https://archive.apache.org/dist/%{name}/%{name}-3/%{version}/source/apache-%{name}-%{version}-src.tar.gz
|
|
|
|
|
Source1: maven-bash-completion
|
|
|
|
@ -25,11 +26,15 @@ Patch1: 0001-Adapt-mvn-script.patch
|
|
|
|
|
Patch2: 0002-Invoke-logback-via-reflection.patch
|
|
|
|
|
Patch3: 0003-Use-non-shaded-HTTP-wagon.patch
|
|
|
|
|
Patch4: 0004-Remove-dependency-on-powermock.patch
|
|
|
|
|
Patch5: 0005-Port-to-maven-resolver-1.7.2.patch
|
|
|
|
|
# XMvn needs to be ported to Maven 3.8.5
|
|
|
|
|
# For now restore backwards compatibility with Maven 3.8.4
|
|
|
|
|
Patch6: 0006-Restore-DefaultModelValidator-compatibility-with-Mav.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: maven-local-openjdk8
|
|
|
|
|
%if %{with bootstrap}
|
|
|
|
|
BuildRequires: javapackages-bootstrap
|
|
|
|
|
BuildRequires: javapackages-bootstrap-openjdk8
|
|
|
|
|
%else
|
|
|
|
|
BuildRequires: maven-local-openjdk8
|
|
|
|
|
BuildRequires: mvn(com.google.inject:guice::no_aop:)
|
|
|
|
|
BuildRequires: mvn(commons-cli:commons-cli)
|
|
|
|
|
BuildRequires: mvn(commons-jxpath:commons-jxpath)
|
|
|
|
@ -53,6 +58,7 @@ BuildRequires: mvn(org.apache.maven.wagon:wagon-http)
|
|
|
|
|
BuildRequires: mvn(org.apache.maven.wagon:wagon-provider-api)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.modello:modello-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.mojo:extra-enforcer-rules)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-classworlds)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-annotations)
|
|
|
|
|
BuildRequires: mvn(org.codehaus.plexus:plexus-component-metadata)
|
|
|
|
@ -82,8 +88,6 @@ Requires: %{name}-lib = %{epoch}:%{version}-%{release}
|
|
|
|
|
Requires: %{name}-jdk-binding = %{epoch}:%{version}-%{release}
|
|
|
|
|
Suggests: %{name}-openjdk17 = %{epoch}:%{version}-%{release}
|
|
|
|
|
|
|
|
|
|
Requires: which
|
|
|
|
|
|
|
|
|
|
Requires(post): alternatives
|
|
|
|
|
Requires(postun): alternatives
|
|
|
|
|
|
|
|
|
@ -163,10 +167,12 @@ Configures Maven to run with OpenJDK 21.
|
|
|
|
|
find -name '*.java' -exec sed -i 's/\r//' {} +
|
|
|
|
|
find -name 'pom.xml' -exec sed -i 's/\r//' {} +
|
|
|
|
|
|
|
|
|
|
%patch -P 1 -p1
|
|
|
|
|
%patch -P 2 -p1
|
|
|
|
|
%patch -P 3 -p1
|
|
|
|
|
%patch -P 4 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
%patch5 -p1
|
|
|
|
|
%patch6 -p1
|
|
|
|
|
|
|
|
|
|
# not really used during build, but a precaution
|
|
|
|
|
find -name '*.jar' -not -path '*/test/*' -delete
|
|
|
|
@ -312,51 +318,51 @@ if [[ $1 -eq 0 ]]; then update-alternatives --remove mvn %{homedir}/bin/mvn; fi
|
|
|
|
|
%config %{_javaconfdir}/maven.conf-openjdk21
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Nov 23 2024 Marián Konček <mkoncek@redhat.com> - 1:3.6.3-19
|
|
|
|
|
- Switch to Fedora tests
|
|
|
|
|
* Mon Feb 05 2024 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.8.5-6
|
|
|
|
|
- Rebuild to regenerate auto-requires
|
|
|
|
|
|
|
|
|
|
* Thu Nov 21 2024 Marián Konček <mkoncek@redhat.com> - 1:3.6.3-18
|
|
|
|
|
- Fix patch usage
|
|
|
|
|
* Mon Jan 22 2024 Marián Konček <mkoncek@redhat.com> - 1:3.8.5-5
|
|
|
|
|
- Add OpenJDK 21 binding
|
|
|
|
|
- Related: RHEL-17126
|
|
|
|
|
|
|
|
|
|
* Wed Nov 20 2024 Marián Konček <mkoncek@redhat.com> - 1:3.6.3-17
|
|
|
|
|
- Rebuild with regenerated Requires on Java
|
|
|
|
|
* Thu Feb 02 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.8.5-4
|
|
|
|
|
- Turn hard dependency on java-devel into a weak dependencny
|
|
|
|
|
- Resolves: rhbz#2165591
|
|
|
|
|
|
|
|
|
|
* Thu Oct 17 2024 Marián Konček <mkoncek@redhat.com> - 1:3.6.3-16
|
|
|
|
|
- Suggest maven-openjdk17
|
|
|
|
|
- Resolves: RHEL-62398
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.8.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Oct 17 2024 Marián Konček <mkoncek@redhat.com> - 1:3.6.3-16
|
|
|
|
|
- Add maven-openjdk21
|
|
|
|
|
- Resolves: RHEL-62407
|
|
|
|
|
* Thu May 05 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.8.5-2
|
|
|
|
|
- Add build-dependency on extra-enforcer-rules
|
|
|
|
|
|
|
|
|
|
* Tue Jan 31 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-15
|
|
|
|
|
- Add missing Requires on which
|
|
|
|
|
- Resolves: rhbz#2165596
|
|
|
|
|
* Thu Apr 21 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.8.5-1
|
|
|
|
|
- Update to upstream version 3.8.5
|
|
|
|
|
|
|
|
|
|
* Mon Jan 30 2023 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-15
|
|
|
|
|
- Turn hard dependency on java-devel into a weak dependencny
|
|
|
|
|
- Resolves: rhbz#2165593
|
|
|
|
|
* Thu Jan 27 2022 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.8.4-3
|
|
|
|
|
- Suggest OpenJDK 17 as default Maven binding
|
|
|
|
|
|
|
|
|
|
* Thu Dec 01 2022 Marián Konček <mkoncek@redhat.com> - 1:3.6.3-15
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.8.4-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 17 2021 Marian Koncek <mkoncek@redhat.com> - 1:3.8.4-1
|
|
|
|
|
- Update to upstream version 3.8.4
|
|
|
|
|
|
|
|
|
|
* Fri Nov 05 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-14
|
|
|
|
|
- Do not override JAVA_HOME set by user
|
|
|
|
|
- Resolves: rhbz#2096431
|
|
|
|
|
- Resolves: rhbz#2020478
|
|
|
|
|
|
|
|
|
|
* Tue Nov 02 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-13
|
|
|
|
|
- Suggest OpenJDK 17 as default Maven binding
|
|
|
|
|
|
|
|
|
|
* Fri Sep 24 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-14
|
|
|
|
|
* Fri Sep 24 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-12
|
|
|
|
|
- Add OpenJDK 17 binding
|
|
|
|
|
|
|
|
|
|
* Thu Aug 19 2021 Marian Koncek <mkoncek@redhat.com> - 1:3.6.3-13
|
|
|
|
|
* Fri Sep 24 2021 Marian Koncek <mkoncek@redhat.com> - 1:3.6.3-11
|
|
|
|
|
- Create a symlink to jansi shared object
|
|
|
|
|
- Related: rhbz#1994935
|
|
|
|
|
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1:3.6.3-12
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Wed Jun 09 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-11
|
|
|
|
|
- Rebuild to workaround DistroBaker issue
|
|
|
|
|
|
|
|
|
|
* Tue Jun 08 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-10
|
|
|
|
|
- Bootstrap Maven for CentOS Stream 9
|
|
|
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1:3.6.3-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon May 17 2021 Mikolaj Izdebski <mizdebsk@redhat.com> - 1:3.6.3-9
|
|
|
|
|
- Bootstrap build
|
|
|
|
|