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 2019/10/29 20:26:37 UTC

[maven-ear-plugin] 09/10: 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 maven-it-extension
in repository https://gitbox.apache.org/repos/asf/maven-ear-plugin.git

commit 48eceef76b59a84f79da0bf6771cf8555a4fabbc
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()