[java-sig-commits] [plexus-pom] Initial import.
gil
gil at fedoraproject.org
Sat Feb 25 00:01:45 UTC 2012
commit 2878ad8a416894b34d71f49203bb83d2cf8b5c8e
Author: gil <puntogil at libero.it>
Date: Sat Feb 25 00:02:45 2012 +0100
Initial import.
.gitignore | 1 +
plexus-pom-3.0.1-no-site-plugin.patch | 42 ++++++++++++++++++++++
plexus-pom-3.0.1-pom.patch | 32 +++++++++++++++++
plexus-pom.spec | 61 +++++++++++++++++++++++++++++++++
sources | 1 +
5 files changed, 137 insertions(+), 0 deletions(-)
---
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 @@
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.5</version>
+ </plugin>
+- <plugin>
++ <!--plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+- <version>3.0</version>
++ <version>3.0</version-->
+ <!--dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+@@ -375,7 +375,7 @@
+ <version>1.0</version>
+ </dependency>
+ </dependencies-->
+- </plugin>
++ <!--/plugin-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+@@ -569,7 +569,7 @@
+ </activation>
+ <build>
+ <plugins>
+- <plugin>
++ <!--plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <executions>
+@@ -580,7 +580,7 @@
+ </goals>
+ </execution>
+ </executions>
+- </plugin>
++ </plugin-->
+ </plugins>
+ </build>
+ </profile>
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 @@
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.0</version>
+- <dependencies>
++ <!--dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav-jackrabbit</artifactId>
+ <version>1.0</version>
+ </dependency>
+- </dependencies>
++ </dependencies-->
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+@@ -481,11 +481,11 @@
+ </excludeRoots>
+ </configuration>
+ </plugin>
+- <plugin>
++ <!--plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>taglist-maven-plugin</artifactId>
+ <version>2.4</version>
+- </plugin>
++ </plugin-->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jxr-plugin</artifactId>
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 <puntogil at libero.it> 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
More information about the java-sig-commits
mailing list