45
45
<type >pom</type >
46
46
<scope >import</scope >
47
47
</dependency >
48
+ <dependency >
49
+ <groupId >software.amazon.awssdk</groupId >
50
+ <artifactId >bom-internal</artifactId >
51
+ <version >${awsjavasdk.version} </version >
52
+ <type >pom</type >
53
+ <scope >import</scope >
54
+ </dependency >
48
55
</dependencies >
49
56
</dependencyManagement >
50
57
51
58
<dependencies >
52
- <!-- rewrite-java dependencies only necessary for Java Recipe development -->
53
59
<dependency >
54
60
<groupId >org.openrewrite</groupId >
55
61
<artifactId >rewrite-java</artifactId >
56
62
<scope >compile</scope >
57
63
</dependency >
58
-
59
- <!-- You only need the version that corresponds to your current
60
- Java version. It is fine to add all of them, though, as
61
- they can coexist on a classpath. -->
62
64
<dependency >
63
65
<groupId >org.openrewrite</groupId >
64
66
<artifactId >rewrite-java-8</artifactId >
65
67
<scope >runtime</scope >
66
68
</dependency >
67
-
68
- <!-- rewrite-maven dependency only necessary for Maven Recipe development -->
69
69
<dependency >
70
70
<groupId >org.openrewrite</groupId >
71
71
<artifactId >rewrite-maven</artifactId >
72
72
<scope >compile</scope >
73
73
</dependency >
74
74
75
- <!-- For authoring tests for any kind of Recipe -->
76
75
<dependency >
77
76
<groupId >org.openrewrite</groupId >
78
77
<artifactId >rewrite-test</artifactId >
79
78
<scope >test</scope >
80
79
</dependency >
80
+ <dependency >
81
+ <groupId >org.junit.jupiter</groupId >
82
+ <artifactId >junit-jupiter</artifactId >
83
+ <scope >test</scope >
84
+ </dependency >
85
+ <dependency >
86
+ <groupId >org.junit.jupiter</groupId >
87
+ <artifactId >junit-jupiter-engine</artifactId >
88
+ <version >${junit5.version} </version >
89
+ <scope >test</scope >
90
+ </dependency >
81
91
</dependencies >
82
92
83
93
<build >
89
99
<skip >true</skip >
90
100
</configuration >
91
101
</plugin >
102
+ <plugin >
103
+ <artifactId >exec-maven-plugin</artifactId >
104
+ <groupId >org.codehaus.mojo</groupId >
105
+ <version >${exec-maven-plugin.version} </version >
106
+ <executions >
107
+ <execution >
108
+ <id >generate-recipe</id >
109
+ <phase >generate-resources</phase >
110
+ <goals >
111
+ <goal >exec</goal >
112
+ </goals >
113
+ <configuration >
114
+ <executable >python</executable >
115
+ <commandlineArgs >${basedir} /src/main/resources/generate-recipes
116
+ </commandlineArgs >
117
+ </configuration >
118
+ </execution >
119
+ </executions >
120
+ </plugin >
92
121
</plugins >
93
122
</build >
94
123
</project >
0 commit comments