[
http://jira.codehaus.org/browse/MOJO-654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_88486
]
Jerome Lacoste commented on MOJO-654:
-------------------------------------
This is probably related to the fact that your JAVA_HOME PATH contains space.
See MJAR-49. Related to a plexus-utils issue.
This may be fixed in some weeks when Maven 2.0.6 is released. Cf the issue
linked from MJAR-49.
keytool may or may not be in the PATH. Not sure it is on all setups.
In the mean time, can you put Java in another place ? E.g. C:\Java...
> 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