maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fritz Elfert (JIRA)" <>
Subject [jira] [Created] (MSHARED-431) # (Hash-Sign) should trigger quoting in
Date Mon, 03 Aug 2015 13:23:04 GMT
Fritz Elfert created MSHARED-431:

             Summary: # (Hash-Sign) should trigger quoting in
                 Key: MSHARED-431
             Project: Maven Shared Components
          Issue Type: Bug
          Components: maven-shared-utils
    Affects Versions: maven-shared-utils-0.8
         Environment: Unix (Linux)
            Reporter: Fritz Elfert

When trying to use the latest maven-jarsign-plugin using a keystore-password which started
with a hash (#), signing failed. After enabling debug output with -X, I got a strange debug

[DEBUG] Option lacks argument

Since signtool is invoked using /bin/sh -c ..., of course, any # must be quoted, because otherwise
it acts as a comment-start and thus effectively cuts-off the rest of the cmdline.
After single-quoting the password in the pom.xml, the jar signing was ok.

should fix the problem.

This message was sent by Atlassian JIRA

View raw message