This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch MCHECKSTYLE-427
in repository https://gitbox.apache.org/repos/asf/maven-checkstyle-plugin.git

commit b52ca55d1df75f15fe9a894632ed415347556b2a
Author: Sylwester Lachiewicz <slachiew...@apache.org>
AuthorDate: Sat Mar 18 13:20:08 2023 +0100

    [MCHECKSTYLE-427] Upgrade maven-invoker-plugin to 3.5.0
    Adds support to run integration tests with Java 19+
---
 pom.xml                                               | 1 +
 src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy | 2 ++
 src/it/checkstyle-goal/verify.groovy                  | 1 +
 src/it/checkstyle-report/verify.groovy                | 2 ++
 4 files changed, 6 insertions(+)

diff --git a/pom.xml b/pom.xml
index f52f3ab..f5a9db3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -380,6 +380,7 @@ under the License.
           <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-invoker-plugin</artifactId>
+            <version>3.5.0</version>
             <configuration>
               <goals>
                 <goal>clean</goal>
diff --git a/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy 
b/src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy
index f73a735..90a78ee 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 c560d47..a5605ef 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 c46da2d..eda75a7 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();

Reply via email to