Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-31221

nexus-m2settings-maven-plugin:1.6.10 does not work with current java 8

    Details

    • Notability:
      2

      Description

      The nexus-m2settings-maven-plugin verwion 1.6.10 doesn't work with AdopOpenJDK 8 (1.8.0_322).

      I tested this with both maven 3.6.3 and 3.8.4, fails with "connection failed: XPP3 pull parser library not present. Specify another driver.".

      Expected: The plugin should work with recent java 8 and maven versions.

      Workaround is to use an older version of the plugin. I had to use 1.6.8, 1.6.9 had a different problem.

      The issue here is likely the same problem that is causing NEXUS-31214.

      [INFO] Scanning for projects...
      [INFO] 
      [INFO] ------------------< org.apache.maven:standalone-pom >-------------------
      [INFO] Building Maven Stub Project (No POM) 1
      [INFO] --------------------------------[ pom ]---------------------------------
      [INFO] 
      [INFO] --- nexus-m2settings-maven-plugin:1.6.10:download (default-cli) @ standalone-pom ---
      Nexus URL: http://localhost:8081/nexus
      Username [rseddon]: admin
      Password: ********
      [INFO] Connecting to: http://localhost:8081/nexus (as admin)
      [WARNING] Insecure protocol: http://localhost:8081/nexus/
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time:  11.601 s
      [INFO] Finished at: 2022-02-14T12:00:25-06:00
      [INFO] ------------------------------------------------------------------------
      [ERROR] Failed to execute goal org.sonatype.plugins:nexus-m2settings-maven-plugin:1.6.10:download (default-cli) on project standalone-pom: Connection failed: XPP3 pull parser library not present. Specify another driver. For example: new XStream(new DomDriver()): org.xmlpull.mxp1.MXParser -> [Help 1]
      [ERROR] 
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR] 
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Rich Seddon Rich Seddon
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  tigCommentSecurity.panel-title