Accepting request 1109288 from Java:packages

version 40

OBS-URL: https://build.opensuse.org/request/show/1109288
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/maven-parent?expand=0&rev=2
This commit is contained in:
Ana Guerrero 2023-09-06 17:00:12 +00:00 committed by Git OBS Bridge
commit aad7c4bd1b
4 changed files with 37 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c7f0c570c1acb5c94d2d52e5184493385eab8e9829b4f276dbdc35eda1a4cc54
size 21384

BIN
maven-parent-40-source-release.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Sep 6 13:13:24 UTC 2023 - Fridrich Strba <fstrba@suse.com>
- 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 <fstrba@suse.com>

View File

@ -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