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

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

slachiewicz closed pull request #2: MPIR-365 Upgrade keytool-maven-plugin to 1.5
URL: https://github.com/apache/maven-project-info-reports-plugin/pull/2
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/pom.xml b/pom.xml
index 9b7ff0e..d3a991e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -428,7 +428,7 @@ under the License.
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>keytool-maven-plugin</artifactId>
-          <version>1.0</version>
+          <version>1.5</version>
           <configuration>
             <keystore>${basedir}/target/jetty.jks</keystore>
             <dname>cn=jetty, ou=jetty, L=Unknown, ST=Unknown, o=Apache, 
c=Unknown</dname>
@@ -478,7 +478,7 @@ under the License.
             <phase>initialize</phase>
             <goals>
               <goal>clean</goal>
-              <goal>genkey</goal>
+              <goal>generateKeyPair</goal>
             </goals>
           </execution>
         </executions>


 

----------------------------------------------------------------
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
>            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)

Reply via email to