Skip to content

Commit

Permalink
Fix build with Maven 4.0.0-beta-3
Browse files Browse the repository at this point in the history
  • Loading branch information
gnodet committed Jul 1, 2024
1 parent 990b913 commit f2df06d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -275,6 +275,9 @@ under the License.
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<redirectTestOutputToFile>true</redirectTestOutputToFile>
<excludes>
<exclude>unit/**</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
Expand Down
2 changes: 1 addition & 1 deletion src/it/MCOMPILER-522-unresolvable-dependency/verify.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def logFile = new File( basedir, 'build.log' )
assert logFile.exists()

def buildLog = logFile.getText('UTF-8')
assert buildLog.contains( "Caused by: org.apache.maven.plugin.MojoExecutionException: " +
assert buildLog.contains( "Caused by: org.apache.maven.api.plugin.MojoException: " +
"Resolution of annotationProcessorPath dependencies failed: " )
assert buildLog.contains(
"The POM for org.apache.maven.plugins.compiler.it:annotation-processor-non-existing:jar:1.0-SNAPSHOT is missing, no dependency information available" )

0 comments on commit f2df06d

Please sign in to comment.