You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by rf...@apache.org on 2019/04/05 15:56:11 UTC

[maven-gpg-plugin] branch INFRA-18014 created (now 9d1bd91)

This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a change to branch INFRA-18014
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git.


      at 9d1bd91  Separate branch to solve INFRA-18014

This branch includes the following new commits:

     new 9d1bd91  Separate branch to solve INFRA-18014

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[maven-gpg-plugin] 01/01: Separate branch to solve INFRA-18014

Posted by rf...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rfscholte pushed a commit to branch INFRA-18014
in repository https://gitbox.apache.org/repos/asf/maven-gpg-plugin.git

commit 9d1bd91907e4b180bf2dc6c72a50e30d7303c33f
Author: rfscholte <rf...@apache.org>
AuthorDate: Fri Apr 5 17:56:02 2019 +0200

    Separate branch to solve INFRA-18014
---
 Jenkinsfile                                             |  2 +-
 .../java/org/apache/maven/plugin/gpg/GpgSigner.java     | 17 +++++++++--------
 2 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index e9f05f7..059dc22 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -17,4 +17,4 @@
  * under the License.
  */
 
-asfMavenTlpPlgnBuild()
+asfMavenTlpPlgnBuild([tmpWs:true])
diff --git a/src/main/java/org/apache/maven/plugin/gpg/GpgSigner.java b/src/main/java/org/apache/maven/plugin/gpg/GpgSigner.java
index 39d5d83..cf4dc73 100644
--- a/src/main/java/org/apache/maven/plugin/gpg/GpgSigner.java
+++ b/src/main/java/org/apache/maven/plugin/gpg/GpgSigner.java
@@ -80,14 +80,15 @@ public class GpgSigner
             cmd.createArg().setFile( homeDir );
         }
 
-        if ( useAgent )
-        {
-            cmd.createArg().setValue( "--use-agent" );
-        }
-        else
-        {
-            cmd.createArg().setValue( "--no-use-agent" );
-        }
+//        parameter has become useless
+//        if ( useAgent )
+//        {
+//            cmd.createArg().setValue( "--use-agent" );
+//        }
+//        else
+//        {
+//            cmd.createArg().setValue( "--no-use-agent" );
+//        }
 
         InputStream in = null;
         if ( null != passphrase )