It’s not maven proxy setting, you need to setup the proxy for Java Http URL 
connection[1]

[1]http://stackoverflow.com/questions/1432961/how-do-i-make-httpurlconnection-use-a-proxy

--  
Willem Jiang

Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) 
(English)
http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese)
Twitter: willemjiang  
Weibo: 姜宁willem



On December 12, 2013 at 1:51:27 PM, lb (lburgazz...@gmail.com) wrote:
>  
> Proxy is properly configured and dependencies are downloaded  
> without problems. The only issue is with camel-manual.
>  
> —
> lb
>  
> On Wed, Dec 11, 2013 at 10:05 PM, Christian Müller
> wrote:
>  
> > You can also consider to configure your Maven proxy settings...  
> > Best,
> > Am 11.12.2013 12:50 schrieb "lb" :  
> >> Hi,
> >> I'm trying to build camel behind a corporate firewall and the  
> build fails
> >> for camel-manual:
> >>
> >> [INFO] --- exec-maven-plugin:1.2.1:java (generate-manual)  
> @ camel-manual
> >> ---
> >> java.net.ConnectException: Connection timed out: connect  
> >> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native  
> >> Method)
> >> at
> >>
> >> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
> >>   
> >> at
> >>
> >> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> >>   
> >> at java.lang.reflect.Constructor.newInstance(Constructor.java:526)  
> >> at
> >>
> >> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1675)
> >>   
> >> at
> >>
> >> sun.net.www.protocol.http.HttpURLConnection$6.run(HttpURLConnection.java:1673)
> >>   
> >> at java.security.AccessController.doPrivileged(Native  
> Method)
> >> at
> >>
> >> sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1671)
> >>   
> >> at
> >>
> >> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1244)
> >>   
> >> at
> >>
> >> org.apache.camel.manual.ManualGenerator.grabBodyContent(ManualGenerator.java:163)
> >>   
> >> at
> >> org.apache.camel.manual.ManualGenerator.run(ManualGenerator.java:59)  
> >> at
> >> org.apache.camel.manual.ManualGenerator.main(ManualGenerator.java:187)  
> >> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
> Method)
> >> at
> >>
> >> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> >>   
> >> at
> >>
> >> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> >>   
> >> at java.lang.reflect.Method.invoke(Method.java:606)  
> >> at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297)  
> >> at java.lang.Thread.run(Thread.java:744)
> >>
> >> How can I turn off camel-manual module? I've used mvn install  
> >> -Pfastinstall
> >> as suggested by the building page con camel's website but it  
> looks like the
> >> camel-manual is still taken into account.
> >>
> >> Thx,
> >> Luca
> >>
> >>
> >>
> >>
> >>
> >> --
> >> View this message in context:
> >> http://camel.465427.n5.nabble.com/building-camel-disable-camel-manual-tp5744596.html
> >>   
> >> Sent from the Camel - Users mailing list archive at Nabble.com.  
> >>

Reply via email to