mvnw spring-boot:run spring.profiles.active code example Example: spring boot maven run with profile mvn spring-boot:run -Drun.profiles=dev