Skip to content

Commit

Permalink
[MCHECKSTYLE-427] Upgrade maven-invoker-plugin to 3.5.0
Browse files Browse the repository at this point in the history
Adds support to run integration tests with Java 19+
  • Loading branch information
slachiewicz committed Mar 18, 2023
1 parent 000fab6 commit bc45db6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 2 additions & 0 deletions src/it/MCHECKSTYLE-214-basedir-resource/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/it/checkstyle-goal/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 2 additions & 0 deletions src/it/checkstyle-report/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit bc45db6

Please sign in to comment.