You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2022/04/08 11:53:14 UTC

[maven-integration-testing] branch master updated: Skip mng7045 DropUselessAndOutdatedCdiApiTest on JDK 1.7

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

sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-integration-testing.git


The following commit(s) were added to refs/heads/master by this push:
     new 357135018 Skip mng7045 DropUselessAndOutdatedCdiApiTest on JDK 1.7
357135018 is described below

commit 357135018c1fec73b663c53adfd45aef6428f457
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Fri Apr 8 12:53:08 2022 +0200

    Skip mng7045 DropUselessAndOutdatedCdiApiTest on JDK 1.7
---
 .../maven/it/MavenITmng7045DropUselessAndOutdatedCdiApiTest.java       | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7045DropUselessAndOutdatedCdiApiTest.java b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7045DropUselessAndOutdatedCdiApiTest.java
index 17d4195e4..1d62a6171 100644
--- a/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7045DropUselessAndOutdatedCdiApiTest.java
+++ b/core-it-suite/src/test/java/org/apache/maven/it/MavenITmng7045DropUselessAndOutdatedCdiApiTest.java
@@ -38,6 +38,9 @@ public class MavenITmng7045DropUselessAndOutdatedCdiApiTest
     public void testShouldNotLeakCdiApi()
         throws IOException, VerificationException
     {
+        // in test Groovy 4.x is used which requires JDK 1.8, so simply skip it for older JDKs
+        requiresJavaVersion( "[1.8,)" );
+
         File testDir = ResourceExtractor.simpleExtractResources( getClass(), "/mng-7045" );
         Verifier verifier = newVerifier( testDir.getAbsolutePath()) ;