sdaschner / jaxrs-analyzer-maven-plugin

Maven plugin for the JAX-RS Analyzer
Apache License 2.0
91 stars 39 forks source link

Error executing v10 to v14 #39

Open ppasler opened 7 years ago

ppasler commented 7 years ago

When running the plugin I get the following error

[ERROR] Failed to execute goal com.sebastian-daschner:jaxrs-analyzer-maven-plugin:0.14:analyze-jaxrs (default) on project core: Execution default of goal com.sebastian-daschner:jaxrs-analyzer-maven-plugin:0.14:analyze-jaxrs failed: An API incompatibility was encountered while executing com.sebastian-daschner:jaxrs-analyzer-maven-plugin:0.14:analyze-jaxrs: java.lang.VerifyError: Cannot inherit from final class
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>com.sebastian-daschner:jaxrs-analyzer-maven-plugin:0.14
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/ppasler/.m2/repository/com/sebastian-daschner/jaxrs-analyzer-maven-plugin/0.14/jaxrs-analyzer-maven-plugin-0.14.jar
[ERROR] urls[1] = file:/home/ppasler/.m2/repository/com/sebastian-daschner/jaxrs-analyzer/0.14/jaxrs-analyzer-0.14.jar
[ERROR] urls[2] = file:/home/ppasler/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[ERROR] Number of foreign imports: 1

With v9 it works as expected.

I am not quite sure if this is related to https://github.com/sdaschner/jaxrs-analyzer/issues/109 Any help will be apprechiated.

sdaschner commented 6 years ago

Please see the update in #109