[maven-doap-plugin] Add patch for pom.xml to add maven-model de

Yang Yong yyang at fedoraproject.org
Fri Sep 10 06:42:36 UTC 2010


commit b83e69c5218d68d53b74c10e2597229d35063f70
Author: Yong Yang <yyang at localhost.localdomain>
Date:   Fri Sep 10 14:43:37 2010 +0800

    Add patch for pom.xml to add maven-model de

 maven-doap-plugin.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/maven-doap-plugin.spec b/maven-doap-plugin.spec
index 8850963..8f48871 100644
--- a/maven-doap-plugin.spec
+++ b/maven-doap-plugin.spec
@@ -1,6 +1,6 @@
 Name:           maven-doap-plugin
 Version:        1.0
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Plugins which generate a DOAP file from information in a POM
 
 Group:          Development/Libraries
@@ -9,6 +9,7 @@ URL:            http://maven.apache.org/plugins/maven-doap-plugin/
 # svn export http://svn.apache.org/repos/asf/maven/plugins/tags/maven-doap-plugin-1.0/
 # tar jcf maven-doap-plugin-1.0.tar.gz maven-doap-plugin-1.0/
 Source0:        %{name}-%{version}.tar.bz2
+Patch0:        %{name}-pom.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
@@ -56,6 +57,7 @@ API documentation for %{name}.
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -b .sav
 
 %build
 export MAVEN_REPO_LOCAL=$(pwd)/.m2/repository
@@ -64,6 +66,7 @@ mvn-jpp \
         -e \
         -Dmaven2.jpp.mode=true \
         -Dmaven.repo.local=$MAVEN_REPO_LOCAL \
+        -Dmaven.test.skip=true \
         install javadoc:javadoc
 
 %install
@@ -110,6 +113,9 @@ rm -rf %{buildroot}
 %{_javadocdir}/%{name}
 
 %changelog
+* Fri Sep 10 2010 Yong Yang <yyang at redhat.com> 1.0-3
+- Add patch for pom.xml to add maven-model dep
+
 * Mon Jun 07 2010 Yong Yang <yyang at redhat.com> 1.0-2
 - Remove macro prject_version
 


More information about the scm-commits mailing list