13
13
IsOBRRequired bool
14
14
ObrName string
15
15
ChildModuleNames []string
16
+ IsDevelopment bool
16
17
}
17
18
*/}}
18
19
<groupId >{{.Coordinates.GroupId}}</groupId >
57
58
{{- end}}
58
59
</modules >
59
60
61
+ <!--
62
+ The following is used if you are publishing built artifacts into github's maven repository.
63
+ Set it to something different if you are publishing to a different maven repository.
64
+
65
+ GITHUB_REPOSITORY is expected to hold a value of something like {github-org}/{repo-name}
66
+ -->
67
+ <distributionManagement >
68
+ <repository >
69
+ <id >github</id >
70
+ <name >GitHub Packages</name >
71
+ <url >https://maven.pkg.github.com/${GITHUB_REPOSITORY} </url >
72
+ </repository >
73
+ </distributionManagement >
74
+
60
75
<dependencyManagement >
61
76
<dependencies >
62
77
<dependency >
97
112
<plugin >
98
113
<groupId >org.apache.felix</groupId >
99
114
<artifactId >maven-bundle-plugin</artifactId >
100
- <version >4 .1.0 </version >
115
+ <version >5 .1.1 </version >
101
116
</plugin >
102
117
<plugin >
103
118
<groupId >org.apache.maven.plugins</groupId >
107
122
<plugin >
108
123
<groupId >dev.galasa</groupId >
109
124
<artifactId >galasa-maven-plugin</artifactId >
110
- <version >0.29 .0</version >
125
+ <version >0.33 .0</version >
111
126
</plugin >
112
127
</plugins >
113
128
</pluginManagement >
127
142
<id >build-testcatalog</id >
128
143
<phase >package</phase >
129
144
<goals >
130
- <goal >bundletestcat</goal >
145
+ <goal >bundletestcat</goal >
131
146
</goals >
132
147
</execution >
133
148
146
161
</plugins >
147
162
</build >
148
163
164
+ <repositories >
165
+ <repository >
166
+ <id >maven.central</id >
167
+ <url >https://repo.maven.apache.org/maven2/</url >
168
+ </repository >
169
+ {{if .IsDevelopment}}
170
+ <!-- To use the bleeding edge version of galasa, use the development obr -->
171
+ <repository >
172
+ <id >galasa.repo</id >
173
+ <url >https://development.galasa.dev/main/maven-repo/obr</url >
174
+ </repository >
175
+ {{- else }}
176
+ <!-- To use the bleeding edge version of galasa, use the development obr -->
177
+ <!--
178
+ <repository>
179
+ <id>galasa.repo</id>
180
+ <url>https://development.galasa.dev/main/maven-repo/obr</url>
181
+ </repository>
182
+ -->
183
+ {{- end }}
184
+ </repositories >
185
+
186
+ <pluginRepositories >
187
+ <pluginRepository >
188
+ <id >maven.central</id >
189
+ <url >https://repo.maven.apache.org/maven2/</url >
190
+ </pluginRepository >
191
+ {{if .IsDevelopment}}
192
+ <!-- To use the bleeding edge version of galasa, use the development obr -->
193
+ <pluginRepository >
194
+ <id >galasa.repo</id >
195
+ <url >https://development.galasa.dev/main/maven-repo/obr</url >
196
+ </pluginRepository >
197
+ {{- else }}
198
+ <!-- To use the bleeding edge version of galasa, use the development obr -->
199
+ <!--
200
+ <pluginRepository>
201
+ <id>galasa.repo</id>
202
+ <url>https://development.galasa.dev/main/maven-repo/obr</url>
203
+ </pluginRepository>
204
+ -->
205
+ {{- end }}
206
+ </pluginRepositories >
207
+
149
208
</project >
0 commit comments