An open API service indexing awesome lists of open source software.

https://github.com/josdem/spring-boot-profiles

This project shows how to use profiles in a Spring Boot Project with Gradle and Maven
https://github.com/josdem/spring-boot-profiles

externalize-configuration spring-boot2

Last synced: 6 months ago
JSON representation

This project shows how to use profiles in a Spring Boot Project with Gradle and Maven

Awesome Lists containing this project

README

          

Spring Boot Profiles
----------------------------------------------

This project shows how to use profiles in a Spring Boot Project with Gradle and Maven

#### To run the project with Gradle

```bash
gradle -Dspring.profiles.active=ENVIRONMENT bootRun
```

#### To run the project with Maven

```bash
mvn -Dspring.profiles.active=ENVIRONMENT spring-boot:run
```

#### Read this as reference

https://josdem.io/techtalk/spring/spring_boot_profiles/