You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2018/03/11 19:06:00 UTC
[jira] [Closed] (MPIR-365) Failed tests on Java 9 due to error with
keytool plugin "keytool: not found"
[ https://issues.apache.org/jira/browse/MPIR-365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karl Heinz Marbaise closed MPIR-365.
------------------------------------
Resolution: Fixed
Assignee: Karl Heinz Marbaise
Done via PR of [~slachiewicz] [b7e2ec380ae8e1740dab5e688b8c81af351b212a|https://gitbox.apache.org/repos/asf?p=maven-project-info-reports-plugin.git;a=commitdiff;h=b7e2ec380ae8e1740dab5e688b8c81af351b212a]
> 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
> Assignee: Karl Heinz Marbaise
> Priority: Minor
> Fix For: 3.0
>
>
> 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)