-
Notifications
You must be signed in to change notification settings - Fork 101
Closed
Labels
type: enhancementNew feature or requestNew feature or request
Milestone
Description
The Recipe AddRepositoryAction has the following condition configuration:
description: Add Spring Boot milestone repository.
id: "spring-milestone"
url: "https://repo.spring.io/milestone"
snapshotsEnabled: false
condition:
type: org.springframework.sbm.build.migration.conditions.NoRepositoryExistsCondition
id: "spring-milestone"
url: "https://repo.spring.io/milestone"
However recipe generates doubled spring-milestone repository entry, if it already exists in pom before:
<repository>
<id>spring-milestone</id>
<url>https://repo.spring.io/milestone</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-release</id>
<url>https://repo.spring.io/release</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>spring-milestone</id>
<url>https://repo.spring.io/milestone</url>
</repository>
Metadata
Metadata
Assignees
Labels
type: enhancementNew feature or requestNew feature or request