Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5495

API incompatibility causes Swagger Maven Plugin (and others) to fail under Maven 3.1.0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.0
    • 3.1.1
    • None
    • None

    Description

      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
      

      Attachments

        Activity

          People

            jvanzyl Jason van Zyl
            brett Brett Porter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: