Hi,

The general java proxy system properties configuration should work, that said, 
specify -Dhttp.proxyHost and -Dhttp.proxyPort could help.
As you're using maven codegen plugin, so do something like
export MAVEN_OPTS="-Dhttp.proxyHost=your_proxy_host 
-Dhttp.proxyPort=your_proxy_port …"
before you run maven.

Freeman
-------------
Freeman Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: http://weibo.com/u/1473905042

On 2012-9-24, at 下午7:18, Cabrera Juan Manuel wrote:

> Ok, thanks Freeman.
> Forking did the trick.
> I found another problem regarding proxies (the plugin complains because it 
> cannot load implied XSDs): I could not find how to give the proxy definition 
> to the plugin (passing it to the command line is not possible for me). I 
> somewhat expected that it would take it from Maven (which connects fine to 
> the outside world)
> This was worked around by copying all the necessary XSDs locally, but if I 
> missed smthg cleverer, I would gladly give it a try :)
> 
> Thanks again anyhow!
> 
> Regards,
> Juan Manuel
> 
> -----Message d'origine-----
> De : Freeman Fang [mailto:[email protected]]
> Envoyé : lundi 24 septembre 2012 11:29
> À : [email protected]
> Objet : Re: NPE with codegen plugin while generating an extension to WSRT
> 
> Hi,
> 
> This is a known issue for CXF 2.6.2, the workaround is add <fork>true</fork> 
> to cxf-codegen-plugin configuration.
> something like
> <configuration>
>         <fork>true</fork>
> …
> 
> Take a look at related discussion[1] to get more details
> 
> [1]http://cxf.547215.n5.nabble.com/2-6-2-SNAPSHOT-wsdl2java-null-pointer-td5712672.html
> Freeman
> -------------
> Freeman Fang
> 
> Red Hat, Inc.
> FuseSource is now part of Red Hat
> Web: http://fusesource.com | http://www.redhat.com/
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
> http://blog.sina.com.cn/u/1473905042
> weibo: http://weibo.com/u/1473905042
> 
> On 2012-9-24, at 下午5:08, juanma.cabrera wrote:
> 
>> Sorry, my bad.
>> Thanks for pointing that out :)
>> The attachments then:
>> 
>> stacktrace <http://cxf.547215.n5.nabble.com/file/n5714543/stacktrace>
>> pseudonym.wsdl
>> <http://cxf.547215.n5.nabble.com/file/n5714543/pseudonym.wsdl>
>> wsrt.wsdl <http://cxf.547215.n5.nabble.com/file/n5714543/wsrt.wsdl>
>> 
>> Regards,
>> 
>> Juan Manuel
>> 
>> 
>> 
>> --
>> View this message in context: 
>> http://cxf.547215.n5.nabble.com/NPE-with-codegen-plugin-while-generating-an-extension-to-WSRT-tp5714530p5714543.html
>> Sent from the cxf-user mailing list archive at Nabble.com.
> 
> 
> 
> Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
> exclusif de ses destinataires. Il peut également être protégé par le secret 
> professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
> immédiatement l'expéditeur et de le détruire. L'intégrité du message ne 
> pouvant être assurée sur Internet, la responsabilité d'Atos ne pourra être 
> recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
> soient faits pour maintenir cette transmission exempte de tout virus, 
> l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
> saurait être recherchée pour tout dommage résultant d'un virus transmis.
> 
> This e-mail and the documents attached are confidential and intended solely 
> for the addressee; it may also be privileged. If you receive this e-mail in 
> error, please notify the sender immediately and destroy it. As its integrity 
> cannot be secured on the Internet, the Atos liability cannot be triggered for 
> the message content. Although the sender endeavours to maintain a computer 
> virus-free network, the sender does not warrant that this transmission is 
> virus-free and will not be liable for any damages resulting from any virus 
> transmitted.

Reply via email to