s2i maven proxy

2016-08-12 Thread Lionel Orellana
Hi, I'm trying to run the Wildfly 10 template from the console. I found how to set the proxy variables for git and it is pulling down the repo fine. But maven can't connect to central. Unknown host repo1.maven.org: unknown error I've tried different environment variables with no luck strate

Re: s2i maven proxy

2016-08-12 Thread Lionel Orellana
Got it. name: MAVEN_OPTS value: '-DproxyHost=http:// -DproxyPort=' On 13 August 2016 at 08:08, Lionel Orellana wrote: > Hi, > > I'm trying to run the Wildfly 10 template from the console. > > I found how to set the proxy variables for git and it is pulling down th

Re: s2i maven proxy

2016-08-12 Thread Ben Parees
There is also this logic you can leverage via env variables: https://github.com/openshift-s2i/s2i-wildfly/blob/master/10.0/s2i/bin/assemble#L154 Ben Parees | OpenShift On Aug 12, 2016 7:00 PM, "Lionel Orellana" wrote: > Got it. > > name: MAVEN_OPTS > > value: '-DproxyHost=http://