File tree Expand file tree Collapse file tree 2 files changed +65
-35
lines changed
starrocks-stream-load-sdk Expand file tree Collapse file tree 2 files changed +65
-35
lines changed Original file line number Diff line number Diff line change @@ -382,20 +382,6 @@ limitations under the License.
382
382
</execution >
383
383
</executions >
384
384
</plugin >
385
- <plugin >
386
- <groupId >org.apache.maven.plugins</groupId >
387
- <artifactId >maven-gpg-plugin</artifactId >
388
- <version >1.5</version >
389
- <executions >
390
- <execution >
391
- <id >sign-artifacts</id >
392
- <phase >verify</phase >
393
- <goals >
394
- <goal >sign</goal >
395
- </goals >
396
- </execution >
397
- </executions >
398
- </plugin >
399
385
<plugin >
400
386
<groupId >org.sonatype.plugins</groupId >
401
387
<artifactId >nexus-staging-maven-plugin</artifactId >
@@ -409,6 +395,39 @@ limitations under the License.
409
395
</plugin >
410
396
</plugins >
411
397
</build >
398
+
399
+ <profiles >
400
+ <profile >
401
+ <id >release</id >
402
+ <activation >
403
+ <property >
404
+ <name >release</name >
405
+ </property >
406
+ </activation >
407
+ <properties >
408
+ <target .java.version>1.8</target .java.version>
409
+ </properties >
410
+ <build >
411
+ <plugins >
412
+ <plugin >
413
+ <groupId >org.apache.maven.plugins</groupId >
414
+ <artifactId >maven-gpg-plugin</artifactId >
415
+ <version >1.5</version >
416
+ <executions >
417
+ <execution >
418
+ <id >sign-artifacts</id >
419
+ <phase >verify</phase >
420
+ <goals >
421
+ <goal >sign</goal >
422
+ </goals >
423
+ </execution >
424
+ </executions >
425
+ </plugin >
426
+ </plugins >
427
+ </build >
428
+ </profile >
429
+ </profiles >
430
+
412
431
<distributionManagement >
413
432
<snapshotRepository >
414
433
<id >ossrh</id >
Original file line number Diff line number Diff line change 208
208
</execution >
209
209
</executions >
210
210
</plugin >
211
- <plugin >
212
- <groupId >org.apache.maven.plugins</groupId >
213
- <artifactId >maven-gpg-plugin</artifactId >
214
- <version >1.5</version >
215
- <executions >
216
- <execution >
217
- <id >sign-artifacts</id >
218
- <phase >verify</phase >
219
- <goals >
220
- <goal >sign</goal >
221
- </goals >
222
- <configuration >
223
- # refer to https://stackoverflow.com/questions/53992950/maven-gpg-plugin-failing-with-inappropriate-ioctl-for-device-when-running-unde
224
- <gpgArguments >
225
- <arg >--pinentry-mode</arg >
226
- <arg >loopback</arg >
227
- </gpgArguments >
228
- </configuration >
229
- </execution >
230
- </executions >
231
- </plugin >
232
211
<plugin >
233
212
<groupId >org.sonatype.plugins</groupId >
234
213
<artifactId >nexus-staging-maven-plugin</artifactId >
243
222
</plugins >
244
223
</build >
245
224
225
+ <profiles >
226
+ <profile >
227
+ <id >release</id >
228
+ <activation >
229
+ <property >
230
+ <name >release</name >
231
+ </property >
232
+ </activation >
233
+ <properties >
234
+ <target .java.version>1.8</target .java.version>
235
+ </properties >
236
+ <build >
237
+ <plugins >
238
+ <plugin >
239
+ <groupId >org.apache.maven.plugins</groupId >
240
+ <artifactId >maven-gpg-plugin</artifactId >
241
+ <version >1.5</version >
242
+ <executions >
243
+ <execution >
244
+ <id >sign-artifacts</id >
245
+ <phase >verify</phase >
246
+ <goals >
247
+ <goal >sign</goal >
248
+ </goals >
249
+ </execution >
250
+ </executions >
251
+ </plugin >
252
+ </plugins >
253
+ </build >
254
+ </profile >
255
+ </profiles >
256
+
246
257
<distributionManagement >
247
258
<snapshotRepository >
248
259
<id >ossrh</id >
You can’t perform that action at this time.
0 commit comments