Uploaded image for project: 'Maven Project Info Reports Plugin'
  1. Maven Project Info Reports Plugin
  2. MPIR-365

Failed tests on Java 9 due to error with keytool plugin "keytool: not found"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0
    • 3.0.0
    • None
    • None

    Description

      Jenkins build failed with error:
      Windows:

      [windows-jdk9] [ERROR] Failed to execute goal org.codehaus.mojo:keytool-maven-plugin:1.0:genkey (init) on project maven-project-info-reports-plugin: Result of cmd.exe /X /C '"f:\jenkins\tools\java\latest9\..\bin\keytool.exe -genkey -dname "cn=jetty, ou=jetty, L=Unknown, ST=Unknown, o=Apache, c=Unknown" -alias apache -keypass apache -keystore f:\jenkins\jenkins-slave\workspace\nfo-reports-plugin_MPIR-361-USOHCFAWZ4BXXFD3QLHLQ2HOCUSPDFM5URQGLU7AUHHJFZBJBXTQ\m/target/jetty.jks -storepass apache -validity 365 -keyalg RSA"' execution is: '1': The system cannot find the path specified.. -> [Help 1]

      For linux also:

      [linux-jdk9] [WARNING] /bin/sh: 1: /usr/local/asfpackages/java/jdk-9.0.1/../bin/keytool: not found

      To resolve problem - upgrade to keytool-maven-plugin:1.5 - tested on Windows/Jdk9

      Attachments

        Issue Links

          Activity

            People

              khmarbaise Karl Heinz Marbaise
              slachiewicz Sylwester Lachiewicz
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: