'Spring change application.properties location using mvn clean install

Im a bit confused about this.

Im creating a script that build my project, but I need to specify the location of the application properties while using mvn clean install. There exists something like mvn clean install -propLocation=/some_path/application.properties?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source