[
https://issues.apache.org/jira/browse/JUDDI-616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13664544#comment-13664544
]
Kurt T Stam commented on JUDDI-616:
-----------------------------------
I tried using the sign configuration of the maven-jar-plugin but on windows I
get:
a bit more info before it fails:
[INFO] jarsigner: attempt to rename C:\test\juddi\juddi-gui-dsig\target\juddi-gu
i-dsig-3.2.0-SNAPSHOT.jar to C:\test\juddi\juddi-gui-dsig\target\juddi-gui-dsig-
3.2.0-SNAPSHOT.jar.orig failed
It seems to windows is holding a lock on the file, and it is the same error as
mentioned in http://jira.codehaus.org/browse/MJARSIGNER-13
This may keep failing on windows until MJARSIGNER-13 is fixed :(
Running same sign command from the cmdline works fine:
C:\Documents and Settings\kstam\My Documents\juddi\juddi-gui-dsig>jarsigner -key
store signing-jar.keystore -storepass applet -keypass applet "C:\Documents and S
ettings\kstam\My Documents\juddi\juddi-gui-dsig\target\juddi-gui-dsig-3.2.0-SNAP
SHOT.jar" applet
Warning:
The signer certificate will expire within six months.
--Kurt
> Build fails on windows DigSig Applet
> ------------------------------------
>
> Key: JUDDI-616
> URL: https://issues.apache.org/jira/browse/JUDDI-616
> Project: jUDDI
> Issue Type: Bug
> Environment: windows
> Reporter: Alex O'Ree
> Assignee: Kurt T Stam
> Fix For: 3.2
>
>
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 49.507s
> [INFO] Finished at: Tue May 21 18:43:55 EDT 2013
> [INFO] Final Memory: 13M/33M
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-jarsigner-plugin:1.2:sign (default) on project
> juddi-gui-d
> sig: Failed executing 'cmd.exe /X /C ""c:\Program Files
> (x86)\Java\jdk1.6.0_43\jre\..\bin\jarsigner.exe" -keystore src/m
> ain/keystore/signing-jar.keystore -storepass '*****' -keypass '*****'
> C:\juddi\trunkcur\juddi-gui-dsig\target\juddi-gui-
> dsig-3.2.0-SNAPSHOT.jar '*****'"' - exitcode 1 -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please
> read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira