Maven commands on Karaf command line

2018-03-15 Thread Spaulding
I am attempting to utilize the maven scoped commands in the karaf console. For example, maven:summary. However, I get command not found. Any ideas? Thanks! -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Repo-add timed out on HTTP url

2018-03-15 Thread Spaulding
Attempting to perform a repo-add using the ECF url from eclipse. However, I receive a time out. When I first started, I received a time out related to the example with mvn camel. At that point, I realized I needed to add the proxy server\port to the maven settings.xml and that appeared to resolv

Re: Maven commands on Karaf command line

2018-03-15 Thread Jean-Baptiste Onofré
What version of Karaf and did you install the maven additional feature ? Regards JB Le 15 mars 2018 à 19:59, à 19:59, Spaulding a écrit: >I am attempting to utilize the maven scoped commands in the karaf >console. >For example, maven:summary. However, I get command not found. Any >ideas? > >Th

Re: Maven commands on Karaf command line

2018-03-15 Thread Spaulding
4.1.5 Regarding the additional feature. I didn't see anything regarding an additional feature. Good chance I just missed it. Is that in the documentation? Thx. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Maven commands on Karaf command line

2018-03-15 Thread Jean-Baptiste Onofré
I'm not sure the commands are on 4.1.x, likely in 4.2.x afair. Le 15 mars 2018 à 20:08, à 20:08, Spaulding a écrit: >4.1.5 > >Regarding the additional feature. I didn't see anything regarding an >additional feature. Good chance I just missed it. Is that in the >documentation? > >Thx. > > > >--

Re: Repo-add timed out on HTTP url

2018-03-15 Thread Jean-Baptiste Onofré
The classy jvm args,: -Dhttp.proxy* Regards JB Le 15 mars 2018 à 20:02, à 20:02, Spaulding a écrit: >Attempting to perform a repo-add using the ECF url from eclipse. >However, I >receive a time out. When I first started, I received a time out >related to >the example with mvn camel. At that po

Re: Repo-add timed out on HTTP url

2018-03-15 Thread Spaulding
used -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=80, but still no luck. changed host and port to the actual proxy settings. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Repo-add timed out on HTTP url

2018-03-15 Thread Jean-Baptiste Onofré
You put that in bin/Karaf script ? If it's a http url and proxy, it should work. Regards JB Le 15 mars 2018 à 20:24, à 20:24, Spaulding a écrit: >used -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=80, but still no luck. > >changed host and port to the actual proxy settings. > > > >-- >Sent from: h

Re: Maven commands on Karaf command line

2018-03-15 Thread Spaulding
resolved this one. needed to perform feature:install maven. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Repo-add timed out on HTTP url

2018-03-15 Thread François Papon
Hi, Can you share the proxy section of your maven settings.xml ? François Le 16 mars 2018 7:24 AM, Spaulding a écrit : > > used -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=80, but still no luck. > changed host and port to the actual proxy settings. > > > > -- > Sent from: http://karaf.922171

Re: Maven commands on Karaf command line

2018-03-15 Thread Jean-Baptiste Onofré
It's what I meant by "installed the maven feature" yes. Regards JB Le 15 mars 2018 à 20:31, à 20:31, Spaulding a écrit: >resolved this one. needed to perform feature:install maven. > > > >-- >Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html

Re: Repo-add timed out on HTTP url

2018-03-15 Thread Spaulding
Here is the settings.xml proxy section with proxy host\port changed to a garbage value: optional true http proxy.myhost.com 8080 regarding the arguments, I just appended them on the command line as such: bin/karaf.bat -Dhttp.proxyHost=127.0.0.1 -

Re: Repo-add timed out on HTTP url

2018-03-15 Thread François Papon
Can you to put the arguments inside the .bat file ? Le 16 mars 2018 7:37 AM, Spaulding a écrit : > > Here is the settings.xml proxy section with proxy host\port changed to a > garbage value: > >   > >    optional >    true >    http >    proxy.myhost.com >    80

Re: Repo-add timed out on HTTP url

2018-03-15 Thread Jean-Baptiste Onofré
Agree it has to be IN the bat or in setenv.bat using extra Java opts Le 15 mars 2018 à 20:46, à 20:46, "François Papon" a écrit: >Can you to put the arguments inside the .bat file ? > >Le 16 mars 2018 7:37 AM, Spaulding a écrit : >> >> Here is the settings.xml proxy section with proxy host\port

Re: Repo-add timed out on HTTP url

2018-03-15 Thread Spaulding
Thank you to both. I added it to karaf.bat and it works. I appreciate both of your input. -- Sent from: http://karaf.922171.n3.nabble.com/Karaf-User-f930749.html