Describe the bug
swagger-maven-plugin in the version 2.1.1 is not working with swagger-core (swagger-jaxrs2) version 2.1.0
If you try to pass the swagger-core (swagger-jaxrs2) version 2.1.0 to the plugin as described in 'To Reproduce', the plugin uses the new passed version but if you compile it with maven it fails with the following error
mvn clean compile
......
[ERROR] Failed to execute goal io.openapitools.swagger:swagger-maven-plugin:2.1.1:generate (default) on project XYZ: Execution default of goal io.openapitools.swagger:swagger-maven-plugin:2.1.1:generate failed: A required class was missing while executing io.openapitools.swagger:swagger-maven-plugin:2.1.1:generate: org/reflections/Configuration
You can fix this error adding two following additional libraries to the plugin configuration.
Describe the bug swagger-maven-plugin in the version 2.1.1 is not working with swagger-core (swagger-jaxrs2) version 2.1.0 If you try to pass the swagger-core (swagger-jaxrs2) version 2.1.0 to the plugin as described in 'To Reproduce', the plugin uses the new passed version but if you compile it with maven it fails with the following error
You can fix this error adding two following additional libraries to the plugin configuration.
To Reproduce Pass swagger-core in version 2.1.0 to the plugin configuration, for example like this
Build your project with maven mvn clean compile.
Expected behavior It would be great if the new version could use swagger-core (swagger-jaxrs2) in version >=2.1.0