File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
components/sbm-recipes-boot-upgrade/src/main
java/org/springframework/sbm/boot/upgrade_27_30/report/helper Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 17
17
package org .springframework .sbm .boot .upgrade_27_30 .report .helper ;
18
18
19
19
import org .springframework .sbm .boot .upgrade_27_30 .report .SpringBootUpgradeReportSection ;
20
+ import org .springframework .sbm .build .migration .conditions .NoPluginRepositoryExistsCondition ;
21
+ import org .springframework .sbm .build .migration .conditions .NoRepositoryExistsCondition ;
20
22
import org .springframework .sbm .engine .context .ProjectContext ;
21
- import org .springframework .sbm .properties .api .PropertiesSource ;
22
23
23
- import java .util .List ;
24
24
import java .util .Map ;
25
25
26
- public class MissingHelper implements SpringBootUpgradeReportSection .Helper <String >{
26
+ public class AddSpringBootRepositoriesHelper implements SpringBootUpgradeReportSection .Helper <String >{
27
27
@ Override
28
28
public String getDescription () {
29
29
return null ;
30
30
}
31
31
32
32
@ Override
33
33
public boolean evaluate (ProjectContext context ) {
34
- return false ;
34
+ return new NoRepositoryExistsCondition (). evaluate ( context ) && new NoPluginRepositoryExistsCondition (). evaluate ( context ) ;
35
35
}
36
36
37
37
@ Override
38
38
public Map <String , String > getData () {
39
- return null ;
39
+ return Map . of () ;
40
40
}
41
41
}
Original file line number Diff line number Diff line change 86
86
87
87
sections :
88
88
- title : Add Spring Boot dependency and plugin milestone repository
89
- helper : org.springframework.sbm.boot.upgrade_27_30.report.helper.MissingHelper
89
+ helper : org.springframework.sbm.boot.upgrade_27_30.report.helper.AddSpringBootRepositoriesHelper
90
90
change : |-
91
91
As currently only milestone releases exist these are required
92
92
affected : |-
You can’t perform that action at this time.
0 commit comments