maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <>
Subject [jira] Commented: (MJARSIGNER-13) signing in multi-module project fails on windows
Date Mon, 28 Feb 2011 20:09:23 GMT


Dennis Lundberg commented on MJARSIGNER-13:

Also you can try to run mvn with the -X command line option to run in debug mode. Hopefully
you'll get a helpful error message or stack trace at the end.

> signing in multi-module project fails on windows
> ------------------------------------------------
>                 Key: MJARSIGNER-13
>                 URL:
>             Project: Maven 2.x Jar Signer Plugin
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Windows XP, android sdk 
>            Reporter: Anna Gadomska
>         Attachments: pom.xml
> I got multi-module (6 modules) android project with .pom file and "sign" profile defined.
When I execute with 'sign' profile:
> - in Maven 3.0.1 - it signs 3 modules and fails. when I resume the execution (mv <goal>
-rf) it signs another 3 modules and fails again. The reason for failing is: [INFO] jarsigner:
attempt to rename xxx.jar to xxx.jar.orig failed.
> - in Maven 2.2.1 - it doesn't work at all, even for first module; it returns "error code
> However, I tried the same .pom - everything works perfectly in Linux (Ubuntu). 
> I was afraid that it might be the issue with spaces, so I hardcoded the paths - the error
I got from maven than was:
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign
(signing) on project MyProject: Failed executing 'cmd.exe /X /C "C:\tools\JavaTMSEDevelopementKit\jre\..\bin\jarsigner.exe
-verbose -keystore "C:\tmp\debug.keystore" -storepass '*****' -keypass '*****' xxx.jar '*****'debugkey"'
- exitcode 1 -> [Help 1]
> {noformat}
> Attaching pom file which I am using.
> Please help?

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