maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] ahubold commented on a change in pull request #1: [MSHARED-674] Detect Java 8 type annotations
Date Thu, 01 Jan 1970 00:00:00 GMT
ahubold commented on a change in pull request #1: [MSHARED-674] Detect Java 8 type annotations
URL: https://github.com/apache/maven-dependency-analyzer/pull/1#discussion_r159639553
 
 

 ##########
 File path: src/test/java/org/apache/maven/shared/dependency/analyzer/DefaultProjectDependencyAnalyzerTest.java
 ##########
 @@ -302,17 +303,44 @@ public void testMultimoduleProject()
         assertEquals( expectedAnalysis, actualAnalysis );
     }
 
+    public void testTypeUseAnnotationDependency()
+            throws TestToolsException, ProjectDependencyAnalyzerException
+    {
+        // java.lang.annotation.ElementType.TYPE_USE introduced with Java 1.8
+        Assume.assumeTrue(SystemUtils.isJavaVersionAtLeast(JavaVersion.JAVA_1_8));
 
 Review comment:
   Thanks. I've changed that.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message