I have a Spring Boot project which has multiple main classes (Yes - I know not best practices, but I'm not able to easily change it). The project is being built by maven.
Locally I was able to specify a "start-class" on the spring-boot-maven-plugin and that works to define which main I want to run, however when I push the app to PCF that doesn't seem to work.
It looks like my app is using the java buildpack... Is there someway to specify the main class that I want to run in PCF? Maybe by settings an environment variable or as part of the cf push command?