[maven-install-plugin] Add pom.patch
Hui Wang
huwang at fedoraproject.org
Thu Sep 9 10:51:14 UTC 2010
commit e0949f876f6b4663803ff5ef521d526879d13926
Author: Hui Wang <huwang at dhcp-65-188.nay.redhat.com>
Date: Thu Sep 9 18:49:33 2010 +0800
Add pom.patch
maven-install-plugin.spec | 8 +++++++-
pom.patch | 13 +++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/maven-install-plugin.spec b/maven-install-plugin.spec
index e6e529e..dce2c7c 100644
--- a/maven-install-plugin.spec
+++ b/maven-install-plugin.spec
@@ -1,6 +1,6 @@
Name: maven-install-plugin
Version: 2.3
-Release: 7%{?dist}
+Release: 8%{?dist}
Summary: Maven Install Plugin
Group: Development/Libraries
@@ -9,6 +9,7 @@ URL: http://maven.apache.org/plugins/maven-install-plugin
#svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-install-plugin-2.3
#tar zcf maven-install-plugin-2.3.tar.gz maven-install-plugin-2.3/
Source0: %{name}-%{version}.tar.gz
+Patch0: pom.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -56,6 +57,8 @@ API documentation for %{name}.
%prep
%setup -q -n %{name}-%{version}
+#Add dependency of wagon-provider-api
+%patch0
%build
export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
@@ -110,6 +113,9 @@ rm -rf %{buildroot}
%{_javadocdir}/%{name}
%changelog
+* Thu Sep 09 2010 Hui Wang <huwang at redhat.com> 2.3-8
+- Add pom.patch
+
* Fri May 21 2010 Alexander Kurtakov <akurtako at redhat.com> 2.3-7
- BR: plexus-digest.
diff --git a/pom.patch b/pom.patch
new file mode 100644
index 0000000..01931a7
--- /dev/null
+++ b/pom.patch
@@ -0,0 +1,13 @@
+--- pom.xml.orig 2009-03-23 04:02:16.000000000 +0800
++++ pom.xml 2010-09-02 14:12:13.000000000 +0800
+@@ -76,6 +76,10 @@
+ <version>${mavenVersion}</version>
+ </dependency>
+ <dependency>
++ <groupId>org.apache.maven.wagon</groupId>
++ <artifactId>wagon-provider-api</artifactId>
++ </dependency>
++ <dependency>
+ <groupId>org.apache.maven</groupId>
+ <artifactId>maven-artifact</artifactId>
+ <version>${mavenVersion}</version>
More information about the scm-commits
mailing list