[mojo-parent] Disable maven-plugin-cobertura

Mikolaj Izdebski mizdebsk at fedoraproject.org
Fri Jan 4 20:23:50 UTC 2013


commit a0e83d145ecad3936061b71a09f42c799e255d28
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Fri Jan 4 21:18:39 2013 +0100

    Disable maven-plugin-cobertura

 mojo-parent.spec |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/mojo-parent.spec b/mojo-parent.spec
index bd7948a..fd60e65 100644
--- a/mojo-parent.spec
+++ b/mojo-parent.spec
@@ -1,6 +1,6 @@
 Name:           mojo-parent
 Version:        30
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Codehaus MOJO parent project pom file
 
 Group:          Development/Libraries
@@ -13,7 +13,6 @@ BuildRequires:  jpackage-utils
 BuildRequires:  codehaus-parent
 BuildRequires:  maven
 BuildRequires:  maven-enforcer-plugin
-BuildRequires:  maven-plugin-cobertura
 
 Requires:       plexus-containers-component-javadoc
 Requires:       maven-plugin-plugin
@@ -26,6 +25,8 @@ Codehaus MOJO parent project pom file
 
 %prep
 %setup -q
+# Cobertura plugin is executed only during clean Maven phase.
+%pom_remove_plugin :cobertura-maven-plugin
 
 %build
 mvn-rpmbuild install
@@ -43,6 +44,9 @@ install -pm 644 pom.xml \
 %{_mavendepmapfragdir}/*
 
 %changelog
+* Fri Jan  4 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 30-3
+- Disable maven-plugin-cobertura
+
 * Tue Nov 27 2012 Mikolaj Izdebski <mizdebsk at redhat.com> - 30-2
 - Install additional depmap
 - Resolves: rhbz#880619


More information about the scm-commits mailing list