maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerome Lacoste (JIRA)" <>
Subject [jira] Commented: (MJAR-49) Jarsigner fails on windows due to spaces in pathnames
Date Fri, 07 Dec 2007 00:02:57 GMT


Jerome Lacoste commented on MJAR-49:

I seem to have similar problems with other plugins. But I've upgraded them to p-u 1.4.2 so
it's perhaps not sufficient. 
I don't run Windows so I don't see those issues. In a tentative to work around the problems
encountered in the other plugins, I've bumped p-u to 1.4.8. See MWEBSTART-60 as an example.

> Jarsigner fails on windows due to spaces in pathnames
> -----------------------------------------------------
>                 Key: MJAR-49
>                 URL:
>             Project: Maven 2.x Jar Plugin
>          Issue Type: Bug
>          Components: sign
>    Affects Versions: 2.1
>         Environment: Windows XP
>            Reporter: Jon Tayler
>            Assignee: Olivier Lamy
>             Fix For: 2.2
>         Attachments: pathproblem.txt
> This is a problem uncovered while running the latest (1.0-20060307.100605-1) version
of the webstart plugin, which uses the jar plugin to sign jars.  During the signing stage
maven fails with 
> [debug] jarsigner executable=[C:\Program Files\Java\jdk1.5.0_06\jre\..\bin\jarsigner.exe]
> [debug] Signing JAR in-place (overwritting original JAR).
> [warn] 'C:\Program' is not recognized as an internal or external command,
> [warn] operable program or batch file.
> [INFO] ------------------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Result of "C:\Program Files\Java\jdk1.5.0_06\jre\..\bin\jarsigner.exe" -verbose
-keystore "C:\Documents and Settings\jdt\.keystore" -storepass ****** -keypass ****** E:\jdt\data\workspace\tabview\tabview-webstart\target\jnlp\commons-logging-1.0.3.jar
roe execution is: '1'.
> [INFO] ------------------------------------------------------------------------
> (full trace is attached).
> It looks as though the plexus utils classes are tokenizing the path to the jarsigner
executable wrongly due to it containing spaces.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message