Skip to content

Commit 79612bc

Browse files
committed
maven source doc gpg plugins
1 parent 08356b0 commit 79612bc

File tree

1 file changed

+73
-3
lines changed

1 file changed

+73
-3
lines changed

java/pom.xml

Lines changed: 73 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@
44
<groupId>io.kafkaesque.pulsar</groupId>
55
<artifactId>pulsar-client-plugin</artifactId>
66
<packaging>jar</packaging>
7-
<version>1.0-SNAPSHOT</version>
7+
<version>0.0.1-SNAPSHOT</version>
8+
89
<name>pulsar-client-plugin</name>
910
<description>Plugins for Pulsar Client</description>
1011
<url>https://github.com/kafkaesque-io/pulsar-client-plugin</url>
12+
1113
<properties>
1214
<maven.compiler.source>1.8</maven.compiler.source>
1315
<maven.compiler.target>1.8</maven.compiler.target>
@@ -16,6 +18,7 @@
1618
</properties>
1719
<build>
1820
<plugins>
21+
<!-- Compile plugin -->
1922
<plugin>
2023
<groupId>org.apache.maven.plugins</groupId>
2124
<artifactId>maven-compiler-plugin</artifactId>
@@ -25,6 +28,59 @@
2528
<target>1.8</target>
2629
</configuration>
2730
</plugin>
31+
32+
<!-- Attach source jar -->
33+
<plugin>
34+
<groupId>org.apache.maven.plugins</groupId>
35+
<artifactId>maven-javadoc-plugin</artifactId>
36+
<version>3.1.1</version>
37+
<executions>
38+
<execution>
39+
<id>attach-javadocs</id>
40+
<goals>
41+
<goal>jar</goal>
42+
</goals>
43+
</execution>
44+
</executions>
45+
</plugin>
46+
47+
<!-- Attach source jars-->
48+
<plugin>
49+
<artifactId>maven-source-plugin</artifactId>
50+
<version>3.2.1</version>
51+
<executions>
52+
<execution>
53+
<id>attach-source</id>
54+
<phase>compile</phase>
55+
<goals>
56+
<goal>jar-no-fork</goal>
57+
</goals>
58+
</execution>
59+
</executions>
60+
</plugin>
61+
62+
<!-- Sign artifacts for uploading to maven central -->
63+
<plugin>
64+
<groupId>org.apache.maven.plugins</groupId>
65+
<artifactId>maven-gpg-plugin</artifactId>
66+
<version>1.6</version>
67+
<executions>
68+
<execution>
69+
<id>sign-artifacts</id>
70+
<phase>verify</phase>
71+
<goals>
72+
<goal>sign</goal>
73+
</goals>
74+
</execution>
75+
</executions>
76+
</plugin>
77+
78+
<plugin>
79+
<groupId>org.apache.maven.plugins</groupId>
80+
<artifactId>maven-release-plugin</artifactId>
81+
<version>3.0.0-M1</version>
82+
</plugin>
83+
2884
</plugins>
2985
</build>
3086
<dependencies>
@@ -92,8 +148,8 @@
92148
</license>
93149
</licenses>
94150
<scm>
95-
<connection>scm:[email protected]:kafkaesque-io/pulsar-client-plugin.git</connection>
96-
<developerConnection>scm:[email protected]:kafkaesque-io/pulsar-client-plugin.git</developerConnection>
151+
<connection>scm:git:ssh://git@github.com:kafkaesque-io/pulsar-client-plugin.git</connection>
152+
<developerConnection>scm:git:ssh://git@github.com:kafkaesque-io/pulsar-client-plugin.git</developerConnection>
97153
<url>https://github.com/kafkaesque-io/pulsar-client-plugin</url>
98154
</scm>
99155
<developers>
@@ -105,4 +161,18 @@
105161
</developer>
106162
</developers>
107163

164+
<distributionManagement>
165+
<snapshotRepository>
166+
<id>sonatype-nexus-snapshots</id>
167+
<name>Sonatype Nexus Snapshots</name>
168+
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
169+
</snapshotRepository>
170+
<repository>
171+
<id>sonatype-nexus-staging</id>
172+
<name>Nexus Release Repository</name>
173+
<url>http://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
174+
</repository>
175+
<downloadUrl>https://oss.sonatype.org/content/groups/public/org/knowm/xchart</downloadUrl>
176+
</distributionManagement>
177+
108178
</project>

0 commit comments

Comments
 (0)