Shane Isbell wrote:

Does this plugin take care of the problem of not being able to sign a jar
artifact which has a non-jar packaging type? I ran into this issue recently.

The code currently looks for artifacts whose artifact handler has language=java. This matches the behavior of the current jar:sign goal.

Probably more robust would be to peek at the file with say java.util.jar.JarFile and see whether this succeeds and there's a MANIFEST in there.

Among the issues currently filled for the maven-jar-plugin, I couldn't spot the problem you described. So consider to create a JIRA so we don't loose this.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to