diff --git a/xmvn.spec b/xmvn.spec index 7e7508b..5c92d71 100644 --- a/xmvn.spec +++ b/xmvn.spec @@ -2,6 +2,10 @@ # any additional bundles. %global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^osgi\\($ +# Integration tests are disabled by default, but you can run them by +# adding "--with its" to rpmbuild or mock invocation. +%bcond_with its + Name: xmvn Version: 2.5.0 Release: 1%{?dist} @@ -153,6 +157,10 @@ This package provides %{summary}. %mvn_package ":xmvn{,-it}" __noinstall +%if %{without its} +%pom_disable_module xmvn-it +%endif + # remove dependency plugin maven-binaries execution # we provide apache-maven by symlink %pom_xpath_remove "pom:executions/pom:execution[pom:id[text()='maven-binaries']]"