The maven-jsign-plugin provides a Maven goal to JSign
maven-jsign-plugin is free to use and licensed under the Apache License version 2.0.
mvn clean install
From commandline use
mvn de.tolina.maven.plugins:jsign-maven-plugin:signexe -Dkeystore=http://my.keystore.local/keystore -Dfile="D:\Temp\my.exe" -Dalias=mykey -Dstorepass=mystorepass
or configure your POM
<build>
<plugins>
<plugin>
<groupId>de.tolina.maven.plugins</groupId>
<artifactId>jsign-maven-plugin</artifactId>
<version>1.0.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>signexe</goal>
</goals>
<configuration>
<alias>mykey</alias>
<file>D:\Temp\my.exe</file>
<keystore>http://my.keystore.local/keystore</keystore>
<storepass>mystorepass</storepass>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
1.0.1 (in development)
- use official JSign artifact (net.jsign:jsign:1.3.0)
1.0.0
- Support http(s) keystore locations
- Support proxies