Re: building camel : disable camel-manual
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. >
Re: building camel : disable camel-manual
We have some trouble when doing the release if enable the camel-manual module with profile. I’m not sure if we have time to revisit it again. -- 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 5:05:25 AM, Christian Müller (christian.muel...@gmail.com) 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. > > >
Re: building camel : disable camel-manual
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. >>
Re: building camel : disable camel-manual
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. > >>
Re: building camel : disable camel-manual
I forgot to mention that the proxy need authentication so http.proxyHost and http.proxyPort are not enough :-( -- View this message in context: http://camel.465427.n5.nabble.com/building-camel-disable-camel-manual-tp5744596p5744681.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: building camel : disable camel-manual
FYI, I figured a way[1] to disable generate manual call when using fastinstall profile. Please check out the latest master code for verification :) [1]https://issues.apache.org/jira/browse/CAMEL-7065 -- 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 10:03:23 PM, lb (lburgazz...@gmail.com) wrote: > > > I forgot to mention that the proxy need authentication so http.proxyHost > and > http.proxyPort are not enough :-( > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/building-camel-disable-camel-manual-tp5744596p5744681.html > > Sent from the Camel - Users mailing list archive at Nabble.com. >
Re: building camel : disable camel-manual
I just filled a JIRA[1] for it. I think we could skip that by using the profile fastinstall. [1]https://issues.apache.org/jira/browse/CAMEL-7065 -- 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 11, 2013 at 7:50:54 PM, lb (lburgazz...@gmail.com) wrote: > > 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. >
Re: building camel : disable camel-manual
Fixed, thx -- View this message in context: http://camel.465427.n5.nabble.com/building-camel-disable-camel-manual-tp5744596p5744989.html Sent from the Camel - Users mailing list archive at Nabble.com.