Reduce test dependencies
This commit is contained in:
parent
8fbe1db53b
commit
d106ba8ee4
@ -10,16 +10,8 @@ Source0: https://github.com/codehaus-plexus/%{name}/archive/%{name}-%{ver
|
|||||||
|
|
||||||
BuildRequires: maven-local-openjdk8
|
BuildRequires: maven-local-openjdk8
|
||||||
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
BuildRequires: mvn(org.apache.felix:maven-bundle-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-enforcer-plugin)
|
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
BuildRequires: mvn(org.codehaus.plexus:plexus:pom:)
|
||||||
|
|
||||||
# test deps missed by builddep
|
|
||||||
BuildRequires: mvn(org.apache.ant:ant)
|
|
||||||
BuildRequires: mvn(commons-logging:commons-logging)
|
|
||||||
BuildRequires: mvn(xml-apis:xml-apis)
|
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Classworlds is a framework for container developers
|
Classworlds is a framework for container developers
|
||||||
who require complex manipulation of Java's ClassLoaders.
|
who require complex manipulation of Java's ClassLoaders.
|
||||||
@ -38,6 +30,13 @@ classworlds.
|
|||||||
%mvn_file : %{name} plexus/classworlds
|
%mvn_file : %{name} plexus/classworlds
|
||||||
%mvn_alias : classworlds:classworlds
|
%mvn_alias : classworlds:classworlds
|
||||||
|
|
||||||
|
%pom_remove_plugin :maven-enforcer-plugin
|
||||||
|
%pom_remove_plugin :maven-dependency-plugin
|
||||||
|
|
||||||
|
# These tests depend on artifacts that are not packaged
|
||||||
|
sed -i /testConfigure_Valid/s/./@org.junit.Ignore/ $(find -name ConfiguratorTest.java)
|
||||||
|
sed -i /testConfigure_Optionally_Existent/s/./@org.junit.Ignore/ $(find -name ConfiguratorTest.java)
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_build
|
%mvn_build
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user