As developer, when create or update Spring Cloud Data Flow instance for VMware Tanzu, maven proxy can be specified in `-
c` JSON parameter.
$ cf create-service p-dataflow standard dataflow-si -c '{"maven.proxy.host": "10.213.60.4", "maven.proxy.port": 8090}'
The setting will be applied into the service backend app as environment variable SPRING_APPLICATION_JSON.
(under p-dataflow org, <SERVICE GUID> space) $ cf env dataflow ... SPRING_APPLICATION_JSON: {"maven.proxy.port":8090,"maven.proxy.host":"10.213.60.4"} ...
For other maven settings, please refer to Spring Cloud Data Flow Reference Guide - Maven.
Additional Note
The proxy setting is only for download app packages from maven repository, it doesn't work with "import application coordinates from <REMOTE_REPOSITORY>", as workaround please download the property files and "import application coordinates from a properties file" instead.