[ 
https://issues.apache.org/jira/browse/MPIR-365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16394559#comment-16394559
 ] 

ASF GitHub Bot commented on MPIR-365:
-------------------------------------

slachiewicz opened a new pull request #2: MPIR-365 Upgrade keytool-maven-plugin 
to 1.5
URL: https://github.com/apache/maven-project-info-reports-plugin/pull/2
 
 
   Fixes problem with keytool run for Java 9 on Windows/Linux

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Priority: Minor
>
> 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