Sync from SUSE:ALP:Source:Standard:1.0 maven-parent revision 522f4a32520f35e12a662ed2e8f5a7c1

This commit is contained in:
Adrian Schröter 2024-02-19 15:45:26 +01:00
commit 95e732018a
4 changed files with 113 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

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

Binary file not shown.

23
maven-parent.changes Normal file
View File

@ -0,0 +1,23 @@
-------------------------------------------------------------------
Tue Jan 23 10:57:50 UTC 2024 - Fridrich Strba <fstrba@suse.com>
- Version Provides/Obsoletes to sync with SLE
-------------------------------------------------------------------
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>
- Initial package for Apache Maven parent POM version 27

64
maven-parent.spec Normal file
View File

@ -0,0 +1,64 @@
#
# spec file for package maven-parent
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: maven-parent
Version: 40
Release: 0
Summary: Apache Maven parent POM
License: Apache-2.0
Group: Development/Libraries/Java
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 >= 6
BuildRequires: unzip
Requires: apache-parent
Obsoletes: maven-plugins-pom < %{version}-%{release}
Provides: maven-plugins-pom = %{version}-%{release}
Obsoletes: maven-shared < %{version}-%{release}
Provides: maven-shared = %{version}-%{release}
BuildArch: noarch
%description
Apache Maven parent POM file used by other Maven projects.
%prep
%setup -q
%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}
%{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
%changelog