From 2878ad8a416894b34d71f49203bb83d2cf8b5c8e Mon Sep 17 00:00:00 2001 From: gil Date: Feb 24 2012 23:02:45 +0000 Subject: Initial import. --- diff --git a/.gitignore b/.gitignore index e69de29..61e8cd9 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/plexus-pom-3.0.1.tar.xz diff --git a/plexus-pom-3.0.1-no-site-plugin.patch b/plexus-pom-3.0.1-no-site-plugin.patch new file mode 100644 index 0000000..abbd772 --- /dev/null +++ b/plexus-pom-3.0.1-no-site-plugin.patch @@ -0,0 +1,42 @@ +--- pom.xml 2012-02-08 16:07:39.235304020 +0100 ++++ pom.xml-gil 2012-02-08 16:17:35.951288824 +0100 +@@ -364,10 +364,10 @@ + maven-resources-plugin + 2.5 + +- ++ + +- ++ + + org.apache.maven.plugins + maven-source-plugin +@@ -569,7 +569,7 @@ + + + +- ++ + + + diff --git a/plexus-pom-3.0.1-pom.patch b/plexus-pom-3.0.1-pom.patch new file mode 100644 index 0000000..1993af4 --- /dev/null +++ b/plexus-pom-3.0.1-pom.patch @@ -0,0 +1,32 @@ +--- pom.xml 2011-08-07 22:04:19.000000000 +0200 ++++ pom.xml-gil 2012-02-08 16:02:27.935311947 +0100 +@@ -368,13 +368,13 @@ + org.apache.maven.plugins + maven-site-plugin + 3.0 +- ++ + + + org.apache.maven.plugins +@@ -481,11 +481,11 @@ + + + +- ++ + + org.apache.maven.plugins + maven-jxr-plugin diff --git a/plexus-pom.spec b/plexus-pom.spec new file mode 100644 index 0000000..237bab3 --- /dev/null +++ b/plexus-pom.spec @@ -0,0 +1,61 @@ +Name: plexus-pom +Version: 3.0.1 +Release: 1%{?dist} +Summary: Root Plexus Projects pom +Group: Development/Libraries +License: ASL 2.0 +URL: https://github.com/sonatype/%{name}/ +# git clone git://github.com/sonatype/plexus-pom.git +# cd plexus-pom +# git archive --format=tar --prefix=plexus-pom-3.0.1/ plexus-3.0.1 | xz >plexus-pom-3.0.1.tar.xz +Source0: plexus-pom-%{version}.tar.xz + +# remove +# org.codehaus.mojo taglist-maven-plugin 2.4 +# org.apache.maven.wagon wagon-webdav-jackrabbit 1.0 +Patch0: plexus-pom-3.0.1-pom.patch +# remove +# maven-site-plugin which require org.codehaus.plexus:plexus-stylus-skin 1.0 +Patch1: plexus-pom-3.0.1-no-site-plugin.patch + +BuildRequires: java-devel +BuildRequires: jpackage-utils >= 0:1.7.5 +BuildRequires: spice-parent + +BuildRequires: maven +BuildRequires: maven-install-plugin +BuildRequires: modello +BuildRequires: plexus-containers-component-metadata + +Requires: maven +Requires: spice-parent + +Requires: jpackage-utils >= 0:1.7.5 +BuildArch: noarch + +%description +The Plexus project provides a full software stack for creating and +executing software projects. + +%prep +%setup -q +%patch0 -p0 +%patch1 -p0 + +%build + +mvn-rpmbuild install + +%install + +mkdir -p %{buildroot}%{_mavenpomdir} +install -pm 644 pom.xml %{buildroot}%{_mavenpomdir}/JPP.plexus-plexus.pom +%add_maven_depmap JPP.plexus-plexus.pom + +%files +%{_mavenpomdir}/JPP.plexus-plexus.pom +%{_mavendepmapfragdir}/%{name} + +%changelog +* Wed Feb 08 2012 gil cattaneo 3.0.1-1 +- initial rpm \ No newline at end of file diff --git a/sources b/sources index e69de29..cc7899b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +75753f24254b405a3a5c0d20e57e56c8 plexus-pom-3.0.1.tar.xz