Default build profile for Maven
By using the attribute activeByDefault
you will be able to select a default profile in Maven when no other profile is selected with the -P parameter.
<profiles>
<profile>
<id>da</id>
</profile>
<profile>
<id>live</id>
</profile>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile>
</profiles>
See Maven Introduction to Profiles documentation
You can also activate specific profile by running
mvn clean install -Pprod
or
mvn clean install -Pdev