Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-30217

Fix Maven dependency analyze

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.x

      Description

      Running:

      mvn -nsu dependency:analyze
      

      in any module fails with:

      [INFO] <<< maven-dependency-plugin:3.1.2:analyze (default-cli) < test-compile @ nuxeo-platform-commandline-executor <<<
      [INFO] 
      [INFO] 
      [INFO] --- maven-dependency-plugin:3.1.2:analyze (default-cli) @ nuxeo-platform-commandline-executor ---
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  8.843 s
      [INFO] Finished at: 2021-03-01T11:12:48+01:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze (default-cli) on project nuxeo-platform-commandline-executor: Execution default-cli of goal org.apache.maven.plugins:maven-dependency-plugin:3.1.2:analyze failed: Unsupported api 524288 -> [Help 1]
      

      This seems to be an API incompatibility between versions 1.11.1 and 1.11.2, see https://www.mail-archive.com/issues@maven.apache.org/msg172104.html.

      Since NXP-30022, maven-dependency-plugin was updated from 3.1.0 to 3.1.2.
      Since NXP-29792, maven-dependency-analyzer was updated from 1.11.1 to 1.11.3.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: