Disable report parser and report plugin
This commit is contained in:
parent
2166576e68
commit
578892604e
@ -18,21 +18,14 @@ Patch2: 0002-Port-to-current-maven-shared-utils.patch
|
|||||||
BuildRequires: maven-local
|
BuildRequires: maven-local
|
||||||
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
BuildRequires: mvn(com.google.code.findbugs:jsr305)
|
||||||
BuildRequires: mvn(commons-io:commons-io)
|
BuildRequires: mvn(commons-io:commons-io)
|
||||||
BuildRequires: mvn(commons-lang:commons-lang)
|
|
||||||
BuildRequires: mvn(junit:junit)
|
BuildRequires: mvn(junit:junit)
|
||||||
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
BuildRequires: mvn(org.apache.commons:commons-lang3)
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-core)
|
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-decoration-model)
|
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-sink-api)
|
|
||||||
BuildRequires: mvn(org.apache.maven.doxia:doxia-site-renderer)
|
|
||||||
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
BuildRequires: mvn(org.apache.maven.plugin-tools:maven-plugin-annotations)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-assembly-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-dependency-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-failsafe-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-plugin-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
|
BuildRequires: mvn(org.apache.maven.plugins:maven-shade-plugin)
|
||||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-api)
|
|
||||||
BuildRequires: mvn(org.apache.maven.reporting:maven-reporting-impl)
|
|
||||||
BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters)
|
BuildRequires: mvn(org.apache.maven.shared:maven-common-artifact-filters)
|
||||||
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
BuildRequires: mvn(org.apache.maven.shared:maven-shared-utils)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
BuildRequires: mvn(org.apache.maven:maven-artifact)
|
||||||
@ -41,7 +34,6 @@ BuildRequires: mvn(org.apache.maven:maven-model)
|
|||||||
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
BuildRequires: mvn(org.apache.maven:maven-parent:pom:)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
BuildRequires: mvn(org.apache.maven:maven-plugin-api)
|
||||||
BuildRequires: mvn(org.apache.maven:maven-toolchain)
|
BuildRequires: mvn(org.apache.maven:maven-toolchain)
|
||||||
BuildRequires: mvn(org.codehaus.mojo:build-helper-maven-plugin)
|
|
||||||
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
BuildRequires: mvn(org.codehaus.mojo:javacc-maven-plugin)
|
||||||
BuildRequires: mvn(org.codehaus.plexus:plexus-java)
|
BuildRequires: mvn(org.codehaus.plexus:plexus-java)
|
||||||
BuildRequires: mvn(org.fusesource.jansi:jansi)
|
BuildRequires: mvn(org.fusesource.jansi:jansi)
|
||||||
@ -62,12 +54,6 @@ Summary: Surefire plugin for maven
|
|||||||
%description plugin
|
%description plugin
|
||||||
Maven surefire plugin for running tests via the surefire framework.
|
Maven surefire plugin for running tests via the surefire framework.
|
||||||
|
|
||||||
%package report-plugin
|
|
||||||
Summary: Surefire reports plugin for maven
|
|
||||||
|
|
||||||
%description report-plugin
|
|
||||||
Plugin for generating reports from surefire test runs.
|
|
||||||
|
|
||||||
%package provider-junit
|
%package provider-junit
|
||||||
Summary: JUnit provider for Maven Surefire
|
Summary: JUnit provider for Maven Surefire
|
||||||
|
|
||||||
@ -86,12 +72,6 @@ Summary: TestNG provider for Maven Surefire
|
|||||||
%description provider-testng
|
%description provider-testng
|
||||||
TestNG provider for Maven Surefire.
|
TestNG provider for Maven Surefire.
|
||||||
|
|
||||||
%package report-parser
|
|
||||||
Summary: Parses report output files from surefire
|
|
||||||
|
|
||||||
%description report-parser
|
|
||||||
Plugin for parsing report output files from surefire.
|
|
||||||
|
|
||||||
%package -n maven-failsafe-plugin
|
%package -n maven-failsafe-plugin
|
||||||
Summary: Maven plugin for running integration tests
|
Summary: Maven plugin for running integration tests
|
||||||
|
|
||||||
@ -128,6 +108,8 @@ cp -p %{SOURCE2} .
|
|||||||
# Disable strict doclint
|
# Disable strict doclint
|
||||||
sed -i /-Xdoclint:all/d pom.xml
|
sed -i /-Xdoclint:all/d pom.xml
|
||||||
|
|
||||||
|
%pom_disable_module maven-surefire-report-plugin
|
||||||
|
%pom_disable_module surefire-report-parser
|
||||||
%pom_disable_module surefire-shadefire
|
%pom_disable_module surefire-shadefire
|
||||||
|
|
||||||
%pom_remove_dep -r org.apache.maven.surefire:surefire-shadefire
|
%pom_remove_dep -r org.apache.maven.surefire:surefire-shadefire
|
||||||
@ -150,9 +132,9 @@ sed -i /-Xdoclint:all/d pom.xml
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%mvn_package ":*{surefire-plugin,report-plugin}*" @1
|
%mvn_package ":*{surefire-plugin}*" @1
|
||||||
%mvn_package ":*junit-platform*" junit5
|
%mvn_package ":*junit-platform*" junit5
|
||||||
%mvn_package ":*{junit,testng,failsafe-plugin,report-parser}*" @1
|
%mvn_package ":*{junit,testng,failsafe-plugin}*" @1
|
||||||
%mvn_package ":*tests*" __noinstall
|
%mvn_package ":*tests*" __noinstall
|
||||||
# tests turned off because they need jmock
|
# tests turned off because they need jmock
|
||||||
%mvn_build -f
|
%mvn_build -f
|
||||||
@ -166,8 +148,6 @@ sed -i /-Xdoclint:all/d pom.xml
|
|||||||
%license LICENSE NOTICE cpl-v10.html
|
%license LICENSE NOTICE cpl-v10.html
|
||||||
|
|
||||||
%files plugin -f .mfiles-surefire-plugin
|
%files plugin -f .mfiles-surefire-plugin
|
||||||
%files report-plugin -f .mfiles-report-plugin
|
|
||||||
%files report-parser -f .mfiles-report-parser
|
|
||||||
%files provider-junit -f .mfiles-junit
|
%files provider-junit -f .mfiles-junit
|
||||||
%files provider-junit5 -f .mfiles-junit5
|
%files provider-junit5 -f .mfiles-junit5
|
||||||
%files provider-testng -f .mfiles-testng
|
%files provider-testng -f .mfiles-testng
|
||||||
|
Loading…
Reference in New Issue
Block a user