---
applications:
- name: change-me
  memory: 512M
  buildpack: java_buildpack
  env:
    JBP_CONFIG_JAVA_MAIN: '{ arguments: "server paas.yaml" }'
  services:
    - change-me-db
  env:
    REGISTER: change-me
    REGISTER_DOMAIN: change-me.cloudapps.digital
    USER: change-me
    PASSWORD: change-me

---
applications:
- name: change-me
  memory: 512M
  buildpack: java_buildpack
  services:
    - change-me-db
  env:
    JBP_CONFIG_JAVA_MAIN: '{ arguments: "server paas.yaml" }'
    REGISTER: change-me
    REGISTER_DOMAIN: change-me.cloudapps.digital
    USER: change-me
    PASSWORD: change-me

Fix setting of java main command line arguments
Fix setting of java main command line arguments

We were setting `env` twice in this configuration. The definition later
was overriding the former and deploys failed.
