[maven-plugin-tools] Remove test dependencies

Mikolaj Izdebski mizdebsk at fedoraproject.org
Thu Apr 18 12:23:17 UTC 2013


commit ac0499903939fbeb46561946f2b50a690def6e1c
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date:   Thu Apr 18 14:23:00 2013 +0200

    Remove test dependencies

 maven-plugin-tools.spec |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)
---
diff --git a/maven-plugin-tools.spec b/maven-plugin-tools.spec
index 690bca1..24ab5a4 100644
--- a/maven-plugin-tools.spec
+++ b/maven-plugin-tools.spec
@@ -1,6 +1,6 @@
 Name:           maven-plugin-tools
 Version:        3.1
-Release:        10%{?dist}
+Release:        11%{?dist}
 Epoch:          0
 Summary:        Maven Plugin Tools
 
@@ -314,6 +314,9 @@ ln -s maven-script/maven-script-{ant,beanshell} .
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>"
 
+# Remove test dependencies because tests are skipped anyways.
+%pom_xpath_remove "pom:dependency[pom:scope[text()='test']]"
+
 %build
 mvn-rpmbuild package javadoc:aggregate -Dmaven.test.skip=true
 
@@ -429,6 +432,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
 
 
 %changelog
+* Thu Apr 18 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:3.1-11
+- Remove test dependencies
+
 * Mon Mar 11 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:3.1-10
 - Add patch for MPLUGIN-242
 - Resolves: rhbz#920042


More information about the scm-commits mailing list