[hawtjni] Remove eclipse plugin from BuildRequires

Stanislav Ochotnicky sochotni at fedoraproject.org
Wed Apr 18 16:31:54 UTC 2012


commit ed0401866ef8c5e8de4acb1cb5f94564cf1d2765
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Wed Apr 18 18:26:13 2012 +0200

    Remove eclipse plugin from BuildRequires

 0004-Remove-eclipse-plugin.patch |   33 +++++++++++++++++++++++++++++++++
 hawtjni.spec                     |    8 ++++++--
 2 files changed, 39 insertions(+), 2 deletions(-)
---
diff --git a/0004-Remove-eclipse-plugin.patch b/0004-Remove-eclipse-plugin.patch
new file mode 100644
index 0000000..5cd63a9
--- /dev/null
+++ b/0004-Remove-eclipse-plugin.patch
@@ -0,0 +1,33 @@
+From 2d5b5a47b8b4eccaa053261728b438966bf6c44f Mon Sep 17 00:00:00 2001
+From: Stanislav Ochotnicky <sochotnicky at redhat.com>
+Date: Wed, 18 Apr 2012 18:24:31 +0200
+Subject: [PATCH 4/4] Remove eclipse plugin
+
+---
+ pom.xml |   10 ----------
+ 1 files changed, 0 insertions(+), 10 deletions(-)
+
+diff --git a/pom.xml b/pom.xml
+index dfad938..40cab61 100644
+--- a/pom.xml
++++ b/pom.xml
+@@ -132,16 +132,6 @@
+ 
+       <plugin>
+         <groupId>org.apache.maven.plugins</groupId>
+-        <artifactId>maven-eclipse-plugin</artifactId>
+-        <version>2.5.1</version>
+-        <configuration>
+-          <downloadSources>true</downloadSources>
+-          <downloadJavadocs>true</downloadJavadocs>
+-        </configuration>
+-      </plugin>
+-
+-      <plugin>
+-        <groupId>org.apache.maven.plugins</groupId>
+         <artifactId>maven-surefire-plugin</artifactId>
+         <version>2.4.3</version>
+         <configuration>
+-- 
+1.7.7.6
+
diff --git a/hawtjni.spec b/hawtjni.spec
index d8665d1..cc25d21 100644
--- a/hawtjni.spec
+++ b/hawtjni.spec
@@ -1,6 +1,6 @@
 Name:             hawtjni
 Version:          1.5
-Release:          2%{?dist}
+Release:          3%{?dist}
 Summary:          Code generator that produces the JNI code
 Group:            Development/Libraries
 License:          ASL 2.0 and EPL and BSD
@@ -12,6 +12,7 @@ Source0:          %{name}-%{version}.tar.xz
 Patch0:           0001-Fix-shading-and-remove-unneeded-modules.patch
 Patch1:           0002-Fix-xbean-compatibility.patch
 Patch2:           0003-Remove-plexus-maven-plugin-dependency.patch
+Patch3:           0004-Remove-eclipse-plugin.patch
 
 BuildArch:        noarch
 
@@ -25,7 +26,6 @@ BuildRequires:    maven-surefire-report-plugin
 BuildRequires:    maven-project-info-reports-plugin
 BuildRequires:    maven-plugin-jxr
 BuildRequires:    maven-javadoc-plugin
-BuildRequires:    maven-eclipse-plugin
 BuildRequires:    maven-surefire-plugin
 BuildRequires:    maven-clean-plugin
 BuildRequires:    maven-surefire-provider-junit4
@@ -74,6 +74,7 @@ This package allows to use HawtJNI from a maven plugin.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 mvn-rpmbuild install javadoc:aggregate
@@ -119,6 +120,9 @@ install -pm 644 maven-%{name}-plugin/pom.xml $RPM_BUILD_ROOT%{_mavenpomdir}/JPP-
 %{_javadir}/maven-%{name}-plugin.jar
 
 %changelog
+* Wed Apr 18 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.5-3
+- Remove eclipse plugin from BuildRequires
+
 * Thu Jan 19 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 1.5-2
 - Replace plexus-maven-plugin with plexus-containers implementation
 


More information about the scm-commits mailing list