Hi,
i am facing problem while deploy proxy using apigee deploy plugin. It is not able to use proxy to connect api.enterprise.apigee.com.
I tried below options:
===============================================================
set MAVEN_OPTS -Dhttp.proxyHost=<PROXY_HOST> -Dhttp.proxyPort=<PROXY_PORT>
mvn clean install -Ptest -Dusername=<USER_NAME> -Dpassword <PASSWORD>
Connection timeout
===============================================================
mvn clean install -Ptest -Dusername=<USER_NAME> -Dpassword <PASWORD> -Dhttp.proxyHost=<httpproxyaddresshost> -Dhttp.proxyPort=8080
Connection timeout
===============================================================
both did not work. please suggest. I am using below plugin.
<plugin><br> <groupId>io.apigee.build-tools.enterprise4g</groupId><br> <artifactId>apigee-edge-maven-plugin</artifactId><br> <executions><br> <execution><br> <id>configure-bundle-step</id><br> <phase>package</phase><br> <goals><br> <goal>configure</goal><br> </goals><br> </execution><br> <!--deploy bundle --><execution><br> <id>deploy-bundle-step</id><br> <phase>install</phase><br> <goals><br> <goal>deploy</goal><br> </goals><br> </execution><br> </executions><br></plugin>
Solved! Go to Solution.
Assuming the problem is in the proxy server setup, based on https://community.apigee.com/questions/39268/apigee-maven-plugin-behind-corporate-proxy.html, the solution is to set MAVEN_OPTS environment variable.
MAVEN_OPTS : -Dhttp.proxyHost=<httpproxyaddresshost> -Dhttp.proxyPort=8080 -Dhttps.proxyHost=<httpsproxyaddresshost> -Dhttps.proxyPort=8080
What do you get when you echo the value of the environment variable?