You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a build organized in the way that a webstart-maven-plugin is used to create a webstart distribution only. Jars are signed later by maven-jarsigner-plugin. By default maven-jarsigner-plugin tries to sign the main artifact as well but it fails because main jar file looks locked:
I have track down that this lock is because of URLClassLoader instance created in org.codehaus.mojo.webstart.util.DefaultArtifactUtil.artifactContainsClass(Artifact, String) method.
This piece of code below fixes the problem but is Java 1.7+ specific:
As a workaround I have configured the maven-jarsigner-plugin to not to sign the main artifact; it only signs the webstart distribution.
I'm using the 1.0-beta-7 version of the plugin. This version locks the jars. I have tested the 1.0.0-SNAPSHOT version as well which also locks the jars.
The text was updated successfully, but these errors were encountered:
I have a build organized in the way that a webstart-maven-plugin is used to create a webstart distribution only. Jars are signed later by maven-jarsigner-plugin. By default maven-jarsigner-plugin tries to sign the main artifact as well but it fails because main jar file looks locked:
I have track down that this lock is because of URLClassLoader instance created in org.codehaus.mojo.webstart.util.DefaultArtifactUtil.artifactContainsClass(Artifact, String) method.
This piece of code below fixes the problem but is Java 1.7+ specific:
As a workaround I have configured the maven-jarsigner-plugin to not to sign the main artifact; it only signs the webstart distribution.
I'm using the 1.0-beta-7 version of the plugin. This version locks the jars. I have tested the 1.0.0-SNAPSHOT version as well which also locks the jars.
The text was updated successfully, but these errors were encountered: