You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Riccardo (JIRA)" <ji...@apache.org> on 2016/01/04 13:39:39 UTC

[jira] [Comment Edited] (MJARSIGNER-17) The plugin should pass proxy information to the jarsigner command.

    [ https://issues.apache.org/jira/browse/MJARSIGNER-17?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15081089#comment-15081089 ] 

Riccardo edited comment on MJARSIGNER-17 at 1/4/16 12:38 PM:
-------------------------------------------------------------

Hello, sorry for writing here.
I really need this patch but I do not understand how to install it.
I'm running Ubuntu 14.4, Maven 3.3.9 (https://launchpad.net/~andrei-pozolotin/+archive/ubuntu/maven3) and my pom.xml is

{code}
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.6</version>
                ...
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jarsigner-plugin</artifactId>
                <version>1.4</version>
                ...
            </plugin>
                ...
        </plugins>
    </build>
{code}                

I also added a post to http://stackoverflow.com/questions/34589961/apache-maven-plugin-upgrade/

Exit
{code}
[INFO] --- maven-jarsigner-plugin:1.4:sign (sign) @ SnooperX ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.411 s
[INFO] Finished at: 2016-01-04T13:35:25+01:00
[INFO] Final Memory: 18M/216M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-jarsigner-plugin:1.4:sign (sign) on project SnooperX: Failed executing '/bin/sh -c cd /var/lib/jenkins/workspace/DEV-Snooper && /usr/lib/jvm/java-7-oracle/jre/../bin/jarsigner -keystore keystore/SnooperX-KeyStore.p12 -storepass '*****' -storetype pkcs12 -tsa http://services.globaltrustfinder.com/adss/tsa -keypass '*****' /var/lib/jenkins/workspace/DEV-Snooper/target/SnooperX-1.0.jar 1' - exitcode 1 -> [Help 1]
{code}
Riccardo


was (Author: ric79):
Hello, sorry for writing here.
I really need this patch but I do not understand how to install it.
I'm running Ubuntu 14.4, Maven 3.3.9 (https://launchpad.net/~andrei-pozolotin/+archive/ubuntu/maven3) and my pom.xml is

{code}
    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jar-plugin</artifactId>
                <version>2.6</version>
                ...
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-jarsigner-plugin</artifactId>
                <version>1.4</version>
                ...
            </plugin>
                ...
        </plugins>
    </build>
{code}                

I also added a post to http://stackoverflow.com/questions/34589961/apache-maven-plugin-upgrade/

Riccardo

> The plugin should pass proxy information to the jarsigner command.
> ------------------------------------------------------------------
>
>                 Key: MJARSIGNER-17
>                 URL: https://issues.apache.org/jira/browse/MJARSIGNER-17
>             Project: Maven Jar Signer Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.2
>            Reporter: Christian Schulte
>            Assignee: Christian Schulte
>         Attachments: MJARSIGNER-17.patch
>
>
> Since 'jarsigner' may need to access network resources, the plugin should pass proxy information to the command.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)