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
|