File tree Expand file tree Collapse file tree 3 files changed +141
-65
lines changed Expand file tree Collapse file tree 3 files changed +141
-65
lines changed Original file line number Diff line number Diff line change 338
338
</plugin >
339
339
</plugins >
340
340
</build >
341
+
342
+ <profiles >
343
+ <profile >
344
+ <id >release</id >
345
+ <build >
346
+ <plugins >
347
+ <plugin >
348
+ <groupId >org.apache.maven.plugins</groupId >
349
+ <artifactId >maven-gpg-plugin</artifactId >
350
+ <version >${plugin.version.gpg.maven} </version >
351
+ <executions >
352
+ <execution >
353
+ <id >sign-artifacts</id >
354
+ <phase >verify</phase >
355
+ <goals >
356
+ <goal >sign</goal >
357
+ </goals >
358
+ </execution >
359
+ </executions >
360
+ <configuration >
361
+ <!-- Prevent gpg from using pinentry programs -->
362
+ <gpgArguments >
363
+ <arg >--pinentry-mode</arg >
364
+ <arg >loopback</arg >
365
+ </gpgArguments >
366
+ </configuration >
367
+ </plugin >
368
+ <plugin >
369
+ <groupId >org.sonatype.central</groupId >
370
+ <artifactId >central-publishing-maven-plugin</artifactId >
371
+ <version >${plugin.version.central} </version >
372
+ <extensions >true</extensions >
373
+ <configuration >
374
+ <publishingServerId >central</publishingServerId >
375
+ <centralBaseUrl >https://central.sonatype.com</centralBaseUrl >
376
+ </configuration >
377
+ </plugin >
378
+ <plugin >
379
+ <groupId >org.apache.maven.plugins</groupId >
380
+ <artifactId >maven-javadoc-plugin</artifactId >
381
+ <version >${plugin.version.javadoc} </version >
382
+ <configuration >
383
+ <javadocExecutable >${java.doc.executable} </javadocExecutable >
384
+ </configuration >
385
+ <executions >
386
+ <execution >
387
+ <id >attach-javadocs</id >
388
+ <goals >
389
+ <goal >jar</goal >
390
+ </goals >
391
+ </execution >
392
+ </executions >
393
+ </plugin >
394
+ <plugin >
395
+ <groupId >org.apache.maven.plugins</groupId >
396
+ <artifactId >maven-source-plugin</artifactId >
397
+ <version >${plugin.version.source} </version >
398
+ <executions >
399
+ <execution >
400
+ <id >attach-sources</id >
401
+ <goals >
402
+ <goal >jar-no-fork</goal >
403
+ </goals >
404
+ </execution >
405
+ </executions >
406
+ </plugin >
407
+ </plugins >
408
+ </build >
409
+ </profile >
410
+ </profiles >
411
+
341
412
</project >
Original file line number Diff line number Diff line change 124
124
</plugin >
125
125
</plugins >
126
126
</build >
127
+
128
+ <profiles >
129
+ <profile >
130
+ <id >release</id >
131
+ <build >
132
+ <plugins >
133
+ <plugin >
134
+ <groupId >org.apache.maven.plugins</groupId >
135
+ <artifactId >maven-gpg-plugin</artifactId >
136
+ <version >${plugin.version.gpg.maven} </version >
137
+ <executions >
138
+ <execution >
139
+ <id >sign-artifacts</id >
140
+ <phase >verify</phase >
141
+ <goals >
142
+ <goal >sign</goal >
143
+ </goals >
144
+ </execution >
145
+ </executions >
146
+ <configuration >
147
+ <!-- Prevent gpg from using pinentry programs -->
148
+ <gpgArguments >
149
+ <arg >--pinentry-mode</arg >
150
+ <arg >loopback</arg >
151
+ </gpgArguments >
152
+ </configuration >
153
+ </plugin >
154
+ <plugin >
155
+ <groupId >org.sonatype.central</groupId >
156
+ <artifactId >central-publishing-maven-plugin</artifactId >
157
+ <version >${plugin.version.central} </version >
158
+ <extensions >true</extensions >
159
+ <configuration >
160
+ <publishingServerId >central</publishingServerId >
161
+ <centralBaseUrl >https://central.sonatype.com</centralBaseUrl >
162
+ </configuration >
163
+ </plugin >
164
+ <plugin >
165
+ <groupId >org.apache.maven.plugins</groupId >
166
+ <artifactId >maven-javadoc-plugin</artifactId >
167
+ <version >${plugin.version.javadoc} </version >
168
+ <configuration >
169
+ <javadocExecutable >${java.doc.executable} </javadocExecutable >
170
+ </configuration >
171
+ <executions >
172
+ <execution >
173
+ <id >attach-javadocs</id >
174
+ <goals >
175
+ <goal >jar</goal >
176
+ </goals >
177
+ </execution >
178
+ </executions >
179
+ </plugin >
180
+ <plugin >
181
+ <groupId >org.apache.maven.plugins</groupId >
182
+ <artifactId >maven-source-plugin</artifactId >
183
+ <version >${plugin.version.source} </version >
184
+ <executions >
185
+ <execution >
186
+ <id >attach-sources</id >
187
+ <goals >
188
+ <goal >jar-no-fork</goal >
189
+ </goals >
190
+ </execution >
191
+ </executions >
192
+ </plugin >
193
+ </plugins >
194
+ </build >
195
+ </profile >
196
+ </profiles >
127
197
</project >
Original file line number Diff line number Diff line change 222
222
<module >malio-processor</module >
223
223
</modules >
224
224
<build >
225
- <pluginManagement >
226
- <plugins >
227
- <plugin >
228
- <groupId >org.apache.maven.plugins</groupId >
229
- <artifactId >maven-gpg-plugin</artifactId >
230
- <version >${plugin.version.gpg.maven} </version >
231
- <executions >
232
- <execution >
233
- <id >sign-artifacts</id >
234
- <phase >verify</phase >
235
- <goals >
236
- <goal >sign</goal >
237
- </goals >
238
- </execution >
239
- </executions >
240
- <configuration >
241
- <!-- Prevent gpg from using pinentry programs -->
242
- <gpgArguments >
243
- <arg >--pinentry-mode</arg >
244
- <arg >loopback</arg >
245
- </gpgArguments >
246
- </configuration >
247
- </plugin >
248
- <plugin >
249
- <groupId >org.sonatype.central</groupId >
250
- <artifactId >central-publishing-maven-plugin</artifactId >
251
- <version >${plugin.version.central} </version >
252
- <extensions >true</extensions >
253
- <configuration >
254
- <publishingServerId >central</publishingServerId >
255
- <centralBaseUrl >https://central.sonatype.com</centralBaseUrl >
256
- <centralSnapshotsUrl >https://central.sonatype.com/repository/maven-snapshots/</centralSnapshotsUrl >
257
- </configuration >
258
- </plugin >
259
- <plugin >
260
- <groupId >org.apache.maven.plugins</groupId >
261
- <artifactId >maven-javadoc-plugin</artifactId >
262
- <version >${plugin.version.javadoc} </version >
263
- <configuration >
264
- <javadocExecutable >${java.doc.executable} </javadocExecutable >
265
- </configuration >
266
- <executions >
267
- <execution >
268
- <id >attach-javadocs</id >
269
- <goals >
270
- <goal >jar</goal >
271
- </goals >
272
- </execution >
273
- </executions >
274
- </plugin >
275
- <plugin >
276
- <groupId >org.apache.maven.plugins</groupId >
277
- <artifactId >maven-source-plugin</artifactId >
278
- <version >${plugin.version.source} </version >
279
- <executions >
280
- <execution >
281
- <id >attach-sources</id >
282
- <goals >
283
- <goal >jar-no-fork</goal >
284
- </goals >
285
- </execution >
286
- </executions >
287
- </plugin >
288
- </plugins >
289
- </pluginManagement >
290
225
<plugins >
291
226
<plugin >
292
227
<groupId >org.apache.maven.plugins</groupId >
You can’t perform that action at this time.
0 commit comments