31
31
<modelVersion >4.0.0</modelVersion >
32
32
<groupId >com.salesforce.storm</groupId >
33
33
<artifactId >dynamic-spout</artifactId >
34
+ <!-- Last release was 0.8.0 on 2017-10-12 -->
34
35
<version >0.8-SNAPSHOT</version >
35
36
<packaging >jar</packaging >
36
37
<name >dynamic-spout</name >
96
97
<skipCheckStyle >false</skipCheckStyle >
97
98
</properties >
98
99
100
+ <!-- For deploying to maven central -->
101
+ <distributionManagement >
102
+ <!-- Snapshot repository -->
103
+ <snapshotRepository >
104
+ <id >ossrh</id >
105
+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
106
+ </snapshotRepository >
107
+ </distributionManagement >
108
+
99
109
<dependencies >
100
110
<!-- Storm dependencies -->
101
111
<dependency >
402
412
</execution >
403
413
</executions >
404
414
</plugin >
415
+
416
+ <!-- Release plugin -->
417
+ <plugin >
418
+ <groupId >org.sonatype.plugins</groupId >
419
+ <artifactId >nexus-staging-maven-plugin</artifactId >
420
+ <version >1.6.7</version >
421
+ <extensions >true</extensions >
422
+ <configuration >
423
+ <serverId >ossrh</serverId >
424
+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
425
+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
426
+ </configuration >
427
+ </plugin >
405
428
</plugins >
406
429
407
430
<pluginManagement >
446
469
</plugin >
447
470
</plugins >
448
471
</reporting >
472
+
473
+ <profiles >
474
+ <profile >
475
+ <id >release</id >
476
+ <build >
477
+ <plugins >
478
+ <!-- Build Sources Jar -->
479
+ <plugin >
480
+ <groupId >org.apache.maven.plugins</groupId >
481
+ <artifactId >maven-source-plugin</artifactId >
482
+ <executions >
483
+ <execution >
484
+ <id >attach-sources</id >
485
+ <goals >
486
+ <goal >jar</goal >
487
+ </goals >
488
+ </execution >
489
+ </executions >
490
+ </plugin >
491
+
492
+ <!-- Build Javadoc Jar -->
493
+ <plugin >
494
+ <groupId >org.apache.maven.plugins</groupId >
495
+ <artifactId >maven-javadoc-plugin</artifactId >
496
+ <version >3.0.0-M1</version >
497
+ <executions >
498
+ <execution >
499
+ <id >build-javadocs</id >
500
+ <goals >
501
+ <goal >jar</goal >
502
+ </goals >
503
+ </execution >
504
+ </executions >
505
+ </plugin >
506
+
507
+ <!-- GPG Signing of Artifacts -->
508
+ <plugin >
509
+ <groupId >org.apache.maven.plugins</groupId >
510
+ <artifactId >maven-gpg-plugin</artifactId >
511
+ <version >1.6</version >
512
+ <executions >
513
+ <execution >
514
+ <id >sign-artifacts</id >
515
+ <phase >verify</phase >
516
+ <goals >
517
+ <goal >sign</goal >
518
+ </goals >
519
+ </execution >
520
+ </executions >
521
+ </plugin >
522
+ </plugins >
523
+ </build >
524
+ </profile >
525
+ </profiles >
449
526
</project >
0 commit comments