Fridrich Strba 2023-09-05 06:56:55 +00:00 committed by Git OBS Bridge
parent 090390d530
commit 074d45b5e4
2 changed files with 15 additions and 5 deletions

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

Binary file not shown.

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,13 +17,13 @@
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: unzip
@ -38,14 +38,21 @@ Apache Maven parent POM file used by other Maven projects.
%pom_remove_plugin :maven-enforcer-plugin
%pom_remove_plugin :maven-checkstyle-plugin
%pom_remove_plugin :apache-rat-plugin
%pom_remove_plugin :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