wordnik/swagger-core — pull request #684 by martoe (2014-09-22 06:09:19+00:00)
Title: Java 8 compile fix

When using JDK 1.8, the Maven build fails:

[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/projekte/github/swagger-core/modules/swagger-jaxrs/src/main/java/com/wordnik/swagger/jaxrs/Reader.java:[323,3] reference to Parameter is ambiguous
both class java.lang.reflect.Parameter in java.lang.reflect and interface com.wordnik.swagger.models.parameters.Parameter in com.wordnik.swagger.models.parameters match
[ERROR] /C:/projekte/github/swagger-core/modules/swagger-jaxrs/src/main/java/com/wordnik/swagger/jaxrs/Reader.java:[311,9] reference to Parameter is ambiguous
both class java.lang.reflect.Parameter in java.lang.reflect and interface com.wordnik.swagger.models.parameters.Parameter in com.wordnik.swagger.models.parameters match
[ERROR] /C:/projekte/github/swagger-core/modules/swagger-jaxrs/src/main/java/com/wordnik/swagger/jaxrs/Reader.java:[325,5] reference to Parameter is ambiguous
both class java.lang.reflect.Parameter in java.lang.reflect and interface com.wordnik.swagger.models.parameters.Parameter in com.wordnik.swagger.models.parameters match
[INFO] 3 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] wordnik-swagger-project ........................... SUCCESS [5.665s]
[INFO] swagger-annotations ............................... SUCCESS [13.779s]
[INFO] swagger-models .................................... SUCCESS [7.319s]
[INFO] swagger-core ...................................... SUCCESS [7.943s]
[INFO] swagger-jaxrs ..................................... FAILURE [2.263s]
[INFO] swagger-jersey2-jaxrs (Jersey 2.x support) ........ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 38.405s
[INFO] Finished at: Mon Sep 22 07:57:03 CEST 2014
[INFO] Final Memory: 25M/65M
[INFO] ------------------------------------------------------------------------