[
http://jira.codehaus.org/browse/MOJO-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88264
]
Frank Cornelis commented on MOJO-654:
-------------------------------------
Hi Dan,
I have the keytool on my system path. The problem still occurs, even when using
the latest build from source code, 1.0-beta-2-SNAPSHOT.
Some more information about my environment:
C:\work\keytool-test>echo %PATH%
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Java\jd
k1.5.0_11\bin;C:\Program Files\maven-2.0.5\bin
C:\work\keytool-test>mvn -version
Maven version: 2.0.5
C:\work\keytool-test>java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
C:\work\keytool-test>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.5.0_11
C:\work\keytool-test>
> keytool-maven-plugin:genkey fails on "C:\Program Files\...\keytool.exe"
> -----------------------------------------------------------------------
>
> Key: MOJO-654
> URL: http://jira.codehaus.org/browse/MOJO-654
> Project: Mojo
> Issue Type: Bug
> Components: General
> Environment: Windows XP
> Reporter: Frank Cornelis
> Priority: Blocker
> Attachments: pom.xml
>
>
> The keytool-maven-plugin works fine under Linux and Mac OS X, but when trying
> to build the same project under Windows XP we get the following noise:
> [INFO] [keytool:genkey {execution: default}]
> [WARNING] C:\Program wordt niet herkend als een interne
> [WARNING] of externe opdracht, programma of batchbestand.
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> This is because the plugin tries to execute:
> C:\Program
> instead of
> C:\Program Files\Java\jdk1.5.0_11\bin\keytool.exe
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email