You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by kh...@apache.org on 2020/04/16 10:43:19 UTC

[maven-ear-plugin] 09/24: Cleaned up. Using value makes usage of annotation DisabledForMaven easier to use.

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

khmarbaise pushed a commit to branch itf-extension
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git

commit ecdd2d5400983086038ccdbde8415e2fa1a8fb69
Author: Karl Heinz Marbaise <kh...@apache.org>
AuthorDate: Mon Oct 28 22:27:45 2019 +0100

    Cleaned up. Using value makes usage of annotation DisabledForMaven easier to use.
---
 src/test/java/org/apache/maven/plugins/ear/it/EARIT.java | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/maven/plugins/ear/it/EARIT.java b/src/test/java/org/apache/maven/plugins/ear/it/EARIT.java
index e2c599a..6ab1ef7 100644
--- a/src/test/java/org/apache/maven/plugins/ear/it/EARIT.java
+++ b/src/test/java/org/apache/maven/plugins/ear/it/EARIT.java
@@ -46,10 +46,9 @@ import org.junit.jupiter.api.DisplayName;
 class EARIT {
 
   @MavenTest
-  @DisabledForMaven(versions = M3_6_2)
+  @DisabledForMaven(M3_6_2)
   @DisplayName("Basic configuration. Should simply create an ear file.")
   void basic(MavenExecutionResult result, MavenProjectResult project) {
-    System.out.println("System.getProperty(\"maven.version\") = " + System.getProperty("maven.version"));
     assertThat(result).isSuccessful();
     assertThat(project).hasTarget()
         .withEarFile()