Skip to content

Update 2.2 release notes to note that spring-boot:run now forks a new JVM by default #18638

@ryenus

Description

@ryenus

After updating to spring boot version 2.2.0.RELEASE, some properties passed along with mvn spring-boot:run doesn't work.

For example, with a project using spring boot starter 2.2.0.RELEASE:

mvn -Dspring.profiles.active=cloud spring-boot:run

The profile reported in the console is still default:

No active profile set, falling back to default profiles: default

But when run with previous version of spring boot maven plugin

mvn -Dspring.profiles.active=cloud \
org.springframework.boot:spring-boot-maven-plugin:2.1.9.RELEASE:run

The active profile is then reported correctly:

The following profiles are active: cloud

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions