diff --git a/maven-parent-27-source-release.zip b/maven-parent-27-source-release.zip deleted file mode 100644 index cecb153..0000000 --- a/maven-parent-27-source-release.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c7f0c570c1acb5c94d2d52e5184493385eab8e9829b4f276dbdc35eda1a4cc54 -size 21384 diff --git a/maven-parent-40-source-release.zip b/maven-parent-40-source-release.zip new file mode 100644 index 0000000..15ffabd --- /dev/null +++ b/maven-parent-40-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9e70e7ee6618ce1740b5c09c6860a8617c51a1738b754063076a44f00a81dd4f +size 61162 diff --git a/maven-parent.changes b/maven-parent.changes index 14de1a8..7d3471f 100644 --- a/maven-parent.changes +++ b/maven-parent.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Wed Sep 6 13:13:24 UTC 2023 - Fridrich Strba + +- Upgrade to Apache Maven parent POM version 40 + * Besides maven-parent, it provides now also the following pom + artifacts: + + doxia-tools + + maven-extensions + + maven-plugins + + maven-shared-components + + maven-skins + * Obsoletes and provides the maven-plugins-pom and maven-shared + packages + ------------------------------------------------------------------- Sat Feb 9 06:14:30 UTC 2019 - Fridrich Strba diff --git a/maven-parent.spec b/maven-parent.spec index 5f98bad..63aaba6 100644 --- a/maven-parent.spec +++ b/maven-parent.spec @@ -1,7 +1,7 @@ # # spec file for package maven-parent # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,17 +17,21 @@ Name: maven-parent -Version: 27 +Version: 40 Release: 0 Summary: Apache Maven parent POM License: Apache-2.0 Group: Development/Libraries/Java -URL: http://maven.apache.org -Source0: http://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip +URL: https://maven.apache.org +Source0: https://repo1.maven.org/maven2/org/apache/maven/%{name}/%{version}/%{name}-%{version}-source-release.zip BuildRequires: apache-parent -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildRequires: unzip Requires: apache-parent +Obsoletes: maven-plugins-pom +Provides: maven-plugins-pom +Obsoletes: maven-shared +Provides: maven-shared BuildArch: noarch %description @@ -35,17 +39,24 @@ Apache Maven parent POM file used by other Maven projects. %prep %setup -q -%pom_remove_plugin :maven-enforcer-plugin -%pom_remove_plugin :maven-checkstyle-plugin -%pom_remove_plugin :apache-rat-plugin +%pom_remove_plugin -r :maven-enforcer-plugin +%pom_remove_plugin -r :maven-checkstyle-plugin +%pom_remove_plugin -r :apache-rat-plugin +%pom_remove_plugin -r :spotless-maven-plugin +%pom_remove_plugin -r :maven-scm-publish-plugin %build %install install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom +%{mvn_install_pom} pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{name}.pom %add_maven_depmap %{name}/%{name}.pom +for i in doxia-tools maven-extensions maven-plugins maven-shared-components maven-skins; do + %{mvn_install_pom} ${i}/pom.xml %{buildroot}%{_mavenpomdir}/%{name}/${i}.pom + %add_maven_depmap %{name}/${i}.pom +done + %files -f .mfiles %license LICENSE %doc NOTICE