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

Daniel Kulp commented on CXF-4687:
----------------------------------


Well, looking at that code in AbstractCodegenMoho, I'm not sure WHAT it is 
doing.   The system properties that CXF (and the HTTPUrlCOnnection object and 
other code) would be looking for would be "http.proxyHost" and 
"http.proxyPort", not just "proxyHost".    

That said, any system property that we set in there should definitely be reset 
back.   The plugins certainly should be cleaning up after they are done.
                
> cxf-codegen-plugin breaks mvn deploy when proxy exists
> ------------------------------------------------------
>
>                 Key: CXF-4687
>                 URL: https://issues.apache.org/jira/browse/CXF-4687
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.0
>         Environment: Windows XP; Maven 3.0.3
>            Reporter: Barry Hathaway
>            Priority: Minor
>
> After using the cxf-codegen-plugin, the maven-deploy-plugin fails to execute 
> the deploy goal with the message: "Failed to deploy artifacts: Could not find 
> artifact....". This only happens when the maven settings file contains a 
> proxy. If I remove the proxy everything is fine. Note, the proxy entry also 
> contains a list of nonProxyHosts.  I suspect this may be the cause since 
> AbstractCodegenMoho does a configureProxyServerSettings without setting the 
> nonProxyHosts.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to