[maven-plugin-tools] Disable resolution of test artifacts
Mikolaj Izdebski
mizdebsk at fedoraproject.org
Tue May 7 10:37:23 UTC 2013
commit 7d299ef8db1ccf4d88381948d73bd564edaca346
Author: Mikolaj Izdebski <mizdebsk at redhat.com>
Date: Tue May 7 12:36:51 2013 +0200
Disable resolution of test artifacts
maven-plugin-tools.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/maven-plugin-tools.spec b/maven-plugin-tools.spec
index 24ab5a4..8a3ac36 100644
--- a/maven-plugin-tools.spec
+++ b/maven-plugin-tools.spec
@@ -1,6 +1,6 @@
Name: maven-plugin-tools
Version: 3.1
-Release: 11%{?dist}
+Release: 12%{?dist}
Epoch: 0
Summary: Maven Plugin Tools
@@ -314,8 +314,8 @@ 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']]"
+# Disable resolution of test artifacts (tests are skipped anyways).
+%mvn_config buildSettings/skipTests true
%build
mvn-rpmbuild package javadoc:aggregate -Dmaven.test.skip=true
@@ -432,6 +432,9 @@ cp -pr target/site/apidocs/* %{buildroot}%{_javadocdir}/%{name}
%changelog
+* Tue May 7 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:3.1-12
+- Disable resolution of test artifacts
+
* Thu Apr 18 2013 Mikolaj Izdebski <mizdebsk at redhat.com> - 0:3.1-11
- Remove test dependencies
More information about the scm-commits
mailing list