From 92f332b35e47ffceb7bb6079845d4c746255e004 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Fri, 20 Sep 2013 13:15:58 +0200 Subject: [PATCH] Disable test dependencies --- maven-plugin-tools.spec | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/maven-plugin-tools.spec b/maven-plugin-tools.spec index 9c4fcb5..73d446e 100644 --- a/maven-plugin-tools.spec +++ b/maven-plugin-tools.spec @@ -1,6 +1,6 @@ Name: maven-plugin-tools Version: 3.1 -Release: 15%{?dist} +Release: 16%{?dist} Epoch: 0 Summary: Maven Plugin Tools @@ -195,8 +195,8 @@ ln -s maven-script/maven-script-{ant,beanshell} . UTF-8 UTF-8" -# Disable resolution of test artifacts (tests are skipped anyways). -%mvn_config buildSettings/skipTests true +# Remove test dependencies because tests are skipped anyways. +%pom_xpath_remove "pom:dependency[pom:scope[text()='test']]" %build %mvn_build -s -f @@ -240,6 +240,9 @@ ln -s maven-script/maven-script-{ant,beanshell} . %changelog +* Fri Sep 20 2013 Mikolaj Izdebski - 0:3.1-16 +- Disable test dependencies + * Fri Sep 20 2013 Mikolaj Izdebski - 0:3.1-15 - Fix com.sun:tools dependency