Skip to content

Commit bc45db6

Browse files
committed
[MCHECKSTYLE-427] Upgrade maven-invoker-plugin to 3.5.0
Adds support to run integration tests with Java 19+
1 parent 000fab6 commit bc45db6

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

pom.xml

+1
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ under the License.
380380
<plugin>
381381
<groupId>org.apache.maven.plugins</groupId>
382382
<artifactId>maven-invoker-plugin</artifactId>
383+
<version>3.5.0</version>
383384
<configuration>
384385
<goals>
385386
<goal>clean</goal>

src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* specific language governing permissions and limitations
1818
* under the License.
1919
*/
20+
import groovy.xml.XmlSlurper
21+
2022
def buildLog = new File( basedir, 'build.log' )
2123

2224
// LICENSE.txt has 2 errors, src/main/resources/README.txt has 1 error

src/it/checkstyle-goal/verify.groovy

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
* specific language governing permissions and limitations
1818
* under the License.
1919
*/
20+
import groovy.xml.XmlParser
2021

2122
assert new File( basedir, 'target/checkstyle-cachefile' ).exists();
2223
assert new File( basedir, 'target/checkstyle-checker.xml' ).exists();

src/it/checkstyle-report/verify.groovy

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
* specific language governing permissions and limitations
1818
* under the License.
1919
*/
20+
import groovy.xml.XmlParser
21+
2022
assert new File(basedir, 'target/site/checkstyle.html').exists();
2123

2224
assert new File(basedir, 'target/checkstyle-cachefile').exists();

0 commit comments

Comments
 (0)