我正在尝试使用 Cloud Foundry maven 插件部署到 Pivotal Web Services。在不使用网络代理的情况下,我可以非常轻松地进行部署,但是当使用网络代理时,我不确定如何配置插件,并且在在线搜索时无法找到好的答案。感谢您的任何帮助!
<plugin>
<groupId>org.cloudfoundry</groupId>
<artifactId>cf-maven-plugin</artifactId>
<version>1.1.2</version>
<configuration>
<target>https://api.run.pivotal.io</target>
<server>cloud-foundry-credentials</server>
<org>MindWaveService</org>
<space>development</space>
<appname>MindwaveServiceApp</appname>
<url>http://appurl-service.cfapps.io/</url>
<memory>512</memory>
<instances>1</instances>
</configuration>
</plugin>
<proxy>
<id>optional</id>
<active>true</active>
<protocol>*</protocol>
<username>myUsername</username>
<password>myPass</password>
<host>myHostUrl</host>
<port>8080</port>
<nonProxyHosts>153.2.128.54|153.2.204.21|com.ups.*|10.244.223.27</nonProxyHosts>
</proxy>