commit 08fc6836c4d32e0477c9e56d344a1b8a93afc56f9a6444b5dcf3a4822e6c4f4b Author: Fridrich Strba Date: Fri Feb 8 12:27:31 2019 +0000 Accepting request 672782 from home:fstrba:maven OBS-URL: https://build.opensuse.org/request/show/672782 OBS-URL: https://build.opensuse.org/package/show/Java:packages/maven-plugins-pom?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/maven-plugins-28-source-release.zip b/maven-plugins-28-source-release.zip new file mode 100644 index 0000000..4d79ea8 --- /dev/null +++ b/maven-plugins-28-source-release.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fd796082281f807ba51ce1abf16b2ef995ddc165500d3a2c987987aec6e1f0 +size 15600 diff --git a/maven-plugins-pom.spec b/maven-plugins-pom.spec new file mode 100644 index 0000000..4729f5a --- /dev/null +++ b/maven-plugins-pom.spec @@ -0,0 +1,58 @@ +# +# spec file for package maven-plugins-pom +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# 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/ +# + + +%global short_name maven-plugins +Name: %{short_name}-pom +Version: 28 +Release: 0 +Summary: Maven Plugins POM +License: Apache-2.0 +Group: Development/Libraries/Java +URL: http://maven.apache.org/plugins/ +Source: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/%{short_name}/%{version}/%{short_name}-%{version}-source-release.zip +BuildRequires: javapackages-local +BuildRequires: mvn(org.apache.maven:maven-parent:pom:) +BuildRequires: unzip +Requires: mvn(org.apache.maven:maven-parent:pom:) +BuildArch: noarch + +%description +This package provides Maven Plugins parent POM used by different +Apache Maven plugins. + +%prep +%setup -q -n %{short_name}-%{version} +# Enforcer plugin is used to ban plexus-component-api. +%pom_remove_plugin :maven-enforcer-plugin +# maven-scm-publish-plugin is not usable in Fedora. +%pom_remove_plugin :maven-scm-publish-plugin +%pom_remove_plugin :maven-site-plugin +%pom_remove_plugin :maven-plugin-plugin + +%build + +%install +install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} +install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/%{short_name}.pom +%add_maven_depmap %{name}/%{short_name}.pom + +%files -f .mfiles +%license LICENSE +%doc NOTICE + +%changelog