Sylwester Lachiewicz created MPIR-365:
-----------------------------------------

             Summary: Failed tests on Java 9 due to error with keytool plugin 
"keytool: not found"
                 Key: MPIR-365
                 URL: https://issues.apache.org/jira/browse/MPIR-365
             Project: Maven Project Info Reports Plugin
          Issue Type: Bug
    Affects Versions: 2.10
            Reporter: Sylwester Lachiewicz


Jenkins build failed with error:
 Windows:
{noformat}
[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]{noformat}
For linux also:
{noformat}
[linux-jdk9] [WARNING] /bin/sh: 1: 
/usr/local/asfpackages/java/jdk-9.0.1/../bin/keytool: not found{noformat}
To resolve problem - upgrade to keytool-maven-plugin:1.5 - tested on 
Windows/Jdk9



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to