You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ff...@apache.org on 2020/03/14 01:35:37 UTC

[cxf] 01/02: [CXF-8241]cxf-codegen-plugin not using the proxy port configured in settings.xml

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

ffang pushed a commit to branch 3.3.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git

commit 1ad60044c2155ceea039417fe09e2f5fc5deb10a
Author: Freeman Fang <fr...@gmail.com>
AuthorDate: Fri Mar 13 21:34:30 2020 -0400

    [CXF-8241]cxf-codegen-plugin not using the proxy port configured in settings.xml
    
    (cherry picked from commit 29f9d03b69ee071d3b83e4f0509a6b6e01b96564)
---
 .../src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java b/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
index acb0e11..4b34f4f 100644
--- a/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
+++ b/maven-plugins/codegen-plugin/src/main/java/org/apache/cxf/maven_plugin/AbstractCodegenMoho.java
@@ -464,7 +464,7 @@ public abstract class AbstractCodegenMoho extends AbstractMojo {
                 });
 
                 System.setProperty(HTTP_PROXY_USER, authUser);
-                System.setProperty(HTTP_PROXY_PORT, authPassword);
+                System.setProperty(HTTP_PROXY_PASSWORD, authPassword);
             }
 
         }