You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Pablo León (JIRA)" <ji...@apache.org> on 2018/01/11 17:30:01 UTC

[jira] [Created] (MJARSIGNER-54) Some jars in the are signed twice or not signed at all

Pablo León created MJARSIGNER-54:
------------------------------------

             Summary: Some jars in the <archiveDirectory> are signed twice or not signed at all
                 Key: MJARSIGNER-54
                 URL: https://issues.apache.org/jira/browse/MJARSIGNER-54
             Project: Maven Jar Signer Plugin
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: Tested in eclipse/windows10 and jenkins/centos6
            Reporter: Pablo León


Some jars in the <archiveDirectory> are signed twice, while others are not signed at all. Here is the pom snipped with the plugin configuration:

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-jarsigner-plugin</artifactId>
				<version>1.4</version>
				<executions>
					<execution>
						<id>sign</id>
						<phase>prepare-package</phase>
						<goals>
							<goal>sign</goal>
						</goals>
						<configuration>
							<alias>mirthconnect</alias>
							<sigfile>SERVER</sigfile>
							<keystore>src/main/resources/keystore.jks</keystore>
							<keypass>xxxxx</keypass>
							<storepass>xxxxx</storepass>
							<storetype>JCEKS</storetype>
							<tsa>http://sha256timestamp.ws.symantec.com/sha256/timestamp</tsa>
							<arguments>
								<argument>-sigalg</argument><argument>SHA256withRSA</argument>
							</arguments>
							<verbose>true</verbose>
							<archiveDirectory>target/jars</archiveDirectory>
						</configuration>
					</execution>
				</executions>
			</plugin>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)