On 18 Jul 2013, at 05:41, Brett Porter <[email protected]> wrote: > Hi, > > I've got a regression here using the Swagger Maven Plugin [1] that looks > different to the Aether one. Before I go poking around further, I was > wondering if anyone can tell me if it's a regression on the Maven (and > dependencies) end, or something expected to be updated in the plugin?
The converter code (part of the plexus adapter layer) was clean-roomed when it moved to eclipse and this particular legacy constructor was missed. I'll fix this and stage a container update - note that the call to register the realm converter isn't strictly necessary and could also be removed from the plugin. -- Cheers, Stuart > [ERROR] Failed to execute goal > com.github.kongchen:swagger-maven-plugin:1.1.1:generate (default) on project > maestro-webapp: An API incompatibility was encountered during configuration > of mojo com.github.kongchen:swagger-maven-plugin:1.1.1:generate: > java.lang.NoSuchMethodError: > org.codehaus.plexus.component.configurator.converters.special.ClassRealmConverter.<init>(Lorg/codehaus/classworlds/ClassRealm;)V > [ERROR] ----------------------------------------------------- > [ERROR] realm = plugin>com.github.kongchen:swagger-maven-plugin:1.1.1 > [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy > [ERROR] urls[0] = > file:/Users/brett/.m2/repository/com/github/kongchen/swagger-maven-plugin/1.1.1/swagger-maven-plugin-1.1.1.jar > [ERROR] urls[1] = > file:/Users/brett/.m2/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar > > It seems to be the same error that was fixed in an 3.0 RC [2]. > > Anyone seen this before? > > - Brett > > [1] https://github.com/kongchen/swagger-maven-plugin > [2] http://jira.codehaus.org/browse/MNG-4832 > > -- > Brett Porter > [email protected] > http://brettporter.wordpress.com/ > http://au.linkedin.com/in/brettporter > http://twitter.com/brettporter --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
