> Date: Tue, 6 Oct 2015 13:33:40 +0200
> Subject: Webstart Maven Plugin using jarsigner with proxy
> From: sverre....@gmail.com
> To: users@maven.apache.org
> 
> How can I provide Java properties to Maven webstart plugin to be used
> when calling Jarsigner?
> 
> <plugin>
>     <groupId>org.codehaus.mojo</groupId>
>     <artifactId>webstart-maven-plugin</artifactId>
>     <configuration>
>         <sign>
>             <keystore>${keystore}</keystore>
>             <storepass>${storepass}</storepass>
>             <storetype>${storetype}</storetype>
>             <alias>${sign.alias}</alias>
>             <tsaLocation>${tsa}</tsaLocation>
>         </sign>
>     </configuration>
> </plugin>

MG>2 step process supply authentication credentials via configuration
http://www.mojohaus.org/keytool/keytool-maven-plugin/
<configuration>
<changeKeyPassword>newKeyPassword</changeKeyPassword>
<changeStorePassword>newStorePassword</changeStorePassword>
</configuration>
NB:Some codehaus artifacts are still being transferred here so you should 
download everything you need (including source) asap
MG>

MG>once keytool-maven-plugin packages your keystore file to a known location.. 
then call maven-jarsigner-plugin
https://maven.apache.org/plugins/maven-jarsigner-plugin/sign-mojo.html
<configuration>
<keystore> (supply keystore from known location)</keystore>
<tsa> (support location of timestamp authority)</tsa>
<arguments>
 <argument>-J-Dhttps.proxyHost=proxy.company.com</argument>
 <argument>-J-Dhttps.proxyPort=3128</argument>
</arguments>
</configuration>
MG>
> 
> While using the maven-jarsigner-plugin I am able to supply properties
> for my Proxy.
> <plugin>
>     <groupId>org.apache.maven.plugins</groupId>
>     <artifactId>maven-jarsigner-plugin</artifactId>
>     <configuration>
>         <arguments>
>             <argument>-J-Dhttps.proxyHost=proxy.company.com</argument>
>             <argument>-J-Dhttps.proxyPort=3128</argument>
>             <argument>-tsa</argument>
>             <argument>${tsa}</argument>
>         </arguments>
>     </configuration>
> </plugin>
> 
> I cannot find any similar settings for the maven webstart plugin.
> 
> Would not need to do this in my pom.xml if Jarsigner could use the
> default Java proxy settings I have configured in Java Control Panel
> Network Settings.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
> 
                                          

Reply via email to