[ 
https://jira.codehaus.org/browse/MNG-5495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=329526#comment-329526
 ] 

Stuart McCulloch commented on MNG-5495:
---------------------------------------

I've staged milestone 5 of Eclipse-Sisu which contains the fix for this issue:

   
https://oss.sonatype.org/content/repositories/orgeclipsesisu-1010/org/eclipse/sisu/org.eclipse.sisu.plexus/0.0.0.M5/
   
https://oss.sonatype.org/content/repositories/orgeclipsesisu-1008/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/

PS. if anyone happens to be using the old Sonatype-Sisu APIs they might also 
like to try the staged 2.4.2 release:

   
https://repository.sonatype.org/content/repositories/sonatype_org-1021/org/sonatype/sisu/sisu-inject-plexus/2.4.2/
   
https://repository.sonatype.org/content/repositories/sonatype_org-1021/org/sonatype/sisu/sisu-inject-bean/2.4.2/

this now delegates to Eclipse-Sisu - only a subset of the API is supported, but 
it should cover all known use-cases.

Let me know if you spot any problems (sisu-us...@eclipse.org) otherwise I'll 
push this to Central later tomorrow.
                
> API incompatibility causes Swagger Maven Plugin (and others) to fail under 
> Maven 3.1.0
> --------------------------------------------------------------------------------------
>
>                 Key: MNG-5495
>                 URL: https://jira.codehaus.org/browse/MNG-5495
>             Project: Maven 2 & 3
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Brett Porter
>             Fix For: 3.1.1
>
>
> {code}
> 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
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to