diff --git a/plexus-14.tar.gz b/plexus-14.tar.gz new file mode 100644 index 0000000..4e9503c --- /dev/null +++ b/plexus-14.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a97c9c642cf50d4696c95782c355b74cfa467816d5665dd938e5701baa311fbd +size 26759 diff --git a/plexus-pom.spec b/plexus-pom.spec index 3d1bb7c..f7a5976 100644 --- a/plexus-pom.spec +++ b/plexus-pom.spec @@ -1,7 +1,7 @@ # # spec file for package plexus-pom # -# 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,7 +17,7 @@ Name: plexus-pom -Version: 5.1 +Version: 14 Release: 0 Summary: Root Plexus Projects POM License: Apache-2.0 @@ -25,7 +25,7 @@ Group: Development/Libraries/Java URL: https://github.com/codehaus-plexus/plexus-pom Source0: https://github.com/codehaus-plexus/plexus-pom/archive/plexus-%{version}.tar.gz Source1: http://www.apache.org/licenses/LICENSE-2.0.txt -BuildRequires: javapackages-local +BuildRequires: javapackages-local >= 6 BuildArch: noarch %description @@ -35,21 +35,20 @@ Plexus packages. %prep %setup -q -n plexus-pom-plexus-%{version} -# * require: org.codehaus.plexus plexus-stylus-skin 1.0 -# org.apache.maven.wagon wagon-webdav-jackrabbit 1.0 -%pom_remove_plugin :maven-site-plugin -%pom_remove_plugin org.codehaus.mojo:findbugs-maven-plugin -%pom_remove_plugin org.codehaus.mojo:taglist-maven-plugin -#Temporary? +%pom_remove_dep org.junit:junit-bom +%pom_remove_plugin :maven-site-plugin %pom_remove_plugin :maven-enforcer-plugin +%pom_remove_plugin :taglist-maven-plugin +%pom_remove_plugin :spotless-maven-plugin + cp -p %{SOURCE1} LICENSE %build %install install -dm 0755 %{buildroot}%{_mavenpomdir}/%{name} -install -pm 0644 pom.xml %{buildroot}%{_mavenpomdir}/%{name}/plexus.pom +%mvn_install_pom pom.xml %{buildroot}%{_mavenpomdir}/%{name}/plexus.pom %add_maven_depmap %{name}/plexus.pom %files -f .mfiles