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

Plugins which used stax / woodstox are broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 4.0.0-alpha-8
    • 4.0.0-alpha-8, 4.0.0
    • None
    • None

    Description

      Due to export:

          <exportedArtifact>org.codehaus.woodstox:stax2-api</exportedArtifact>
      

      classes from stax2-api are not available for plugins.

      eg:

      mvn versions:2.16.0:set -DnewVersion=1.0.0
      
      [ERROR] Failed to execute goal org.codehaus.mojo:versions-maven-plugin:2.16.0:set (default-cli) on project exec-maven-plugin: Execution default-cli of goal org.codehaus.mojo:versions-maven-plugin:2.16.0:set failed: A required class was missing while executing org.codehaus.mojo:versions-maven-plugin:2.16.0:set: org/codehaus/stax2/XMLInputFactory2
      

      Attachments

        Issue Links

          Activity

            People

              gnodet Guillaume Nodet
              sjaranowski Slawomir Jaranowski
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: