maven-jarsigner-plugin Enter Passphrase for keystore -
i using maven-jarsigner-plugin sign applet jar. when run "maven clean install" build fails , gives following error.
[debug] 'cmd.exe /x /c ""c:\program files\java\jdk1.6.0_33\jre\..\bin\jarsigner.exe" -keystore mykeystore -keypass '*****' c:\myproject\target\myapplet-1.0.0.jar applet"' [info] jarsigner: must enter key password [warning] enter passphrase keystore:
following maven configuration.
<plugin> <artifactid>maven-jarsigner-plugin</artifactid> <version>1.2</version> <executions> <execution> <id>sign</id> <phase>install</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> <configuration> <keystore>mykeystore</keystore> <alias>myapplet</alias> <keypass>mykeypass</keypass> </configuration> </plugin>
i can see prompts password.
please let me know have missed in configuration
are missing
<storepass>mystorepass</storepass>
in
<configuration> <keystore>mykeystore</keystore> <alias>myapplet</alias> <keypass>mykeypass</keypass> <storepass>mystorepass</storepass> </configuration>
?
Comments
Post a Comment