diff --git a/randomizedtesting.spec b/randomizedtesting.spec index 6764149..2762eb2 100644 --- a/randomizedtesting.spec +++ b/randomizedtesting.spec @@ -104,11 +104,15 @@ sed -i 's/\r//' README randomized-runner/README # package org.hamcrest does not exist %pom_add_dep org.hamcrest:hamcrest-core randomized-runner +%pom_xpath_inject "pom:plugin[pom:artifactId = 'maven-plugin-plugin']/pom:configuration" \ +"true" +%pom_xpath_remove "pom:plugin[pom:artifactId = 'maven-plugin-plugin']/pom:executions" junit4-maven-plugin %pom_xpath_inject "pom:plugin[pom:artifactId = 'maven-plugin-plugin']" \ " true " junit4-maven-plugin + %mvn_package :%{name}-parent %{name}-runner %build