You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2023/03/18 12:27:18 UTC

[maven-checkstyle-plugin] branch MCHECKSTYLE-427 created (now b52ca55)

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

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


      at b52ca55  [MCHECKSTYLE-427] Upgrade maven-invoker-plugin to 3.5.0 Adds support to run integration tests with Java 19+

This branch includes the following new commits:

     new b52ca55  [MCHECKSTYLE-427] Upgrade maven-invoker-plugin to 3.5.0 Adds support to run integration tests with Java 19+

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-checkstyle-plugin] 01/01: [MCHECKSTYLE-427] Upgrade maven-invoker-plugin to 3.5.0 Adds support to run integration tests with Java 19+

Posted by sl...@apache.org.
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 <sl...@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();