Closed
Description
To reproduce:
- create "New Spring Starter" project with 'Reactive Web' starter selected
- Use 'Edit Starters' to add 'Function' dependency.
If it works correctly a bom should be added like this:
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
But in reality, no bom gets added and the 'pom' will have an error marker on it because dependencies cannot be resolved.
Note: our 'add bom' code will not use a property like ${spring-cloud.version}
to refer to the bom version. It will just include the version directly. This is normal, that's how it also worked originally in initalizer itself, but they changed it a while back (maybe it should be changed in edit starters too, but that is a different issue).
Metadata
Metadata
Assignees
Labels
No labels