[jvnet-parent] Remove enforcer-plugin from pom (not needed)

Stanislav Ochotnicky sochotni at fedoraproject.org
Tue Jul 24 11:00:58 UTC 2012


commit b6e14a51786b4cdb5924d83df9f9741bdb811a5b
Author: Stanislav Ochotnicky <sochotnicky at redhat.com>
Date:   Tue Jul 24 12:47:13 2012 +0200

    Remove enforcer-plugin from pom (not needed)

 jvnet-parent.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/jvnet-parent.spec b/jvnet-parent.spec
index 5d84f24..2b19f7c 100644
--- a/jvnet-parent.spec
+++ b/jvnet-parent.spec
@@ -1,6 +1,6 @@
 Name:           jvnet-parent
 Version:        3
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Java.net parent POM file
 
 Group:          Development/Libraries
@@ -22,6 +22,8 @@ Glassfish
 
 %prep
 cp %{SOURCE0} pom.xml
+# we provide correct version of maven, no need to enforce and pull in dependencies
+%pom_remove_plugin org.apache.maven.plugins:maven-enforcer-plugin
 
 %build
 mvn-rpmbuild install
@@ -40,6 +42,9 @@ install -pm 644 pom.xml \
 %{_mavendepmapfragdir}/%{name}
 
 %changelog
+* Tue Jul 24 2012 Stanislav Ochotnicky <sochotnicky at redhat.com> - 3-4
+- Remove enforcer-plugin from pom (not needed)
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list