diff --git a/pom.xml b/pom.xml index f52f3abb..f5a9db34 100644 --- a/pom.xml +++ b/pom.xml @@ -380,6 +380,7 @@ under the License. org.apache.maven.plugins maven-invoker-plugin + 3.5.0 clean diff --git a/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy b/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy index f73a735a..90a78eec 100644 --- a/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy +++ b/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy @@ -17,6 +17,8 @@ * specific language governing permissions and limitations * under the License. */ +import groovy.xml.XmlSlurper + def buildLog = new File( basedir, 'build.log' ) // LICENSE.txt has 2 errors, src/main/resources/README.txt has 1 error diff --git a/src/it/checkstyle-goal/verify.groovy b/src/it/checkstyle-goal/verify.groovy index c560d475..a5605efd 100644 --- a/src/it/checkstyle-goal/verify.groovy +++ b/src/it/checkstyle-goal/verify.groovy @@ -17,6 +17,7 @@ * specific language governing permissions and limitations * under the License. */ +import groovy.xml.XmlParser assert new File( basedir, 'target/checkstyle-cachefile' ).exists(); assert new File( basedir, 'target/checkstyle-checker.xml' ).exists(); diff --git a/src/it/checkstyle-report/verify.groovy b/src/it/checkstyle-report/verify.groovy index c46da2dd..eda75a7a 100644 --- a/src/it/checkstyle-report/verify.groovy +++ b/src/it/checkstyle-report/verify.groovy @@ -17,6 +17,8 @@ * specific language governing permissions and limitations * under the License. */ +import groovy.xml.XmlParser + assert new File(basedir, 'target/site/checkstyle.html').exists(); assert new File(basedir, 'target/checkstyle-cachefile').exists();