Skip to content

Commit 2c61937

Browse files
edit pom
1 parent 05189f6 commit 2c61937

File tree

2 files changed

+199
-0
lines changed

2 files changed

+199
-0
lines changed

superstream-clients/dependency-reduced-pom.xml

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@
99
<artifactId>superstream-clients</artifactId>
1010
<name>Superstream Kafka Client Optimizer</name>
1111
<description>A Java library that dynamically optimizes Kafka client configuration based on recommendations</description>
12+
<url>https://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients</url>
13+
<licenses>
14+
<license>
15+
<name>The Apache License, Version 2.0</name>
16+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
17+
</license>
18+
</licenses>
19+
<scm>
20+
<connection>scm:git:git://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients.git</connection>
21+
<developerConnection>scm:git:ssh://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients.git</developerConnection>
22+
<url>https://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients</url>
23+
</scm>
1224
<build>
1325
<resources>
1426
<resource>
@@ -62,8 +74,78 @@
6274
<artifactId>maven-surefire-plugin</artifactId>
6375
<version>3.0.0</version>
6476
</plugin>
77+
<plugin>
78+
<artifactId>maven-source-plugin</artifactId>
79+
<version>3.2.1</version>
80+
<executions>
81+
<execution>
82+
<id>attach-sources</id>
83+
<goals>
84+
<goal>jar-no-fork</goal>
85+
</goals>
86+
</execution>
87+
</executions>
88+
</plugin>
89+
<plugin>
90+
<artifactId>maven-javadoc-plugin</artifactId>
91+
<version>3.3.1</version>
92+
<executions>
93+
<execution>
94+
<id>attach-javadocs</id>
95+
<goals>
96+
<goal>jar</goal>
97+
</goals>
98+
</execution>
99+
</executions>
100+
</plugin>
101+
<plugin>
102+
<artifactId>maven-gpg-plugin</artifactId>
103+
<version>3.0.1</version>
104+
<executions>
105+
<execution>
106+
<id>sign-artifacts</id>
107+
<phase>verify</phase>
108+
<goals>
109+
<goal>sign</goal>
110+
</goals>
111+
</execution>
112+
</executions>
113+
</plugin>
114+
<plugin>
115+
<groupId>org.sonatype.plugins</groupId>
116+
<artifactId>nexus-staging-maven-plugin</artifactId>
117+
<version>1.6.8</version>
118+
<extensions>true</extensions>
119+
<configuration>
120+
<serverId>ossrh</serverId>
121+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
122+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
123+
</configuration>
124+
</plugin>
65125
</plugins>
66126
</build>
127+
<profiles>
128+
<profile>
129+
<id>release</id>
130+
<build>
131+
<plugins>
132+
<plugin>
133+
<artifactId>maven-gpg-plugin</artifactId>
134+
<version>3.0.1</version>
135+
<executions>
136+
<execution>
137+
<id>sign-artifacts</id>
138+
<phase>verify</phase>
139+
<goals>
140+
<goal>sign</goal>
141+
</goals>
142+
</execution>
143+
</executions>
144+
</plugin>
145+
</plugins>
146+
</build>
147+
</profile>
148+
</profiles>
67149
<dependencies>
68150
<dependency>
69151
<groupId>org.apache.kafka</groupId>
@@ -116,6 +198,16 @@
116198
</exclusions>
117199
</dependency>
118200
</dependencies>
201+
<distributionManagement>
202+
<repository>
203+
<id>ossrh</id>
204+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
205+
</repository>
206+
<snapshotRepository>
207+
<id>ossrh</id>
208+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
209+
</snapshotRepository>
210+
</distributionManagement>
119211
<properties>
120212
<bytebuddy.version>1.14.9</bytebuddy.version>
121213
<maven.compiler.source>11</maven.compiler.source>

superstream-clients/pom.xml

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,34 @@
1515

1616
<name>Superstream Kafka Client Optimizer</name>
1717
<description>A Java library that dynamically optimizes Kafka client configuration based on recommendations</description>
18+
<url>https://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients</url>
19+
20+
<!-- License information -->
21+
<licenses>
22+
<license>
23+
<name>The Apache License, Version 2.0</name>
24+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
25+
</license>
26+
</licenses>
27+
28+
<!-- SCM information -->
29+
<scm>
30+
<connection>scm:git:git://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients.git</connection>
31+
<developerConnection>scm:git:ssh://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients.git</developerConnection>
32+
<url>https://github.com/superstreamlabs/superstream-clients-parent/tree/master/superstream-clients</url>
33+
</scm>
34+
35+
<!-- Distribution management -->
36+
<distributionManagement>
37+
<snapshotRepository>
38+
<id>ossrh</id>
39+
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
40+
</snapshotRepository>
41+
<repository>
42+
<id>ossrh</id>
43+
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
44+
</repository>
45+
</distributionManagement>
1846

1947
<properties>
2048
<maven.compiler.source>11</maven.compiler.source>
@@ -133,6 +161,61 @@
133161
<artifactId>maven-surefire-plugin</artifactId>
134162
<version>3.0.0</version>
135163
</plugin>
164+
<!-- Source JAR -->
165+
<plugin>
166+
<groupId>org.apache.maven.plugins</groupId>
167+
<artifactId>maven-source-plugin</artifactId>
168+
<version>3.2.1</version>
169+
<executions>
170+
<execution>
171+
<id>attach-sources</id>
172+
<goals>
173+
<goal>jar-no-fork</goal>
174+
</goals>
175+
</execution>
176+
</executions>
177+
</plugin>
178+
<!-- Javadoc JAR -->
179+
<plugin>
180+
<groupId>org.apache.maven.plugins</groupId>
181+
<artifactId>maven-javadoc-plugin</artifactId>
182+
<version>3.3.1</version>
183+
<executions>
184+
<execution>
185+
<id>attach-javadocs</id>
186+
<goals>
187+
<goal>jar</goal>
188+
</goals>
189+
</execution>
190+
</executions>
191+
</plugin>
192+
<!-- GPG Signing -->
193+
<plugin>
194+
<groupId>org.apache.maven.plugins</groupId>
195+
<artifactId>maven-gpg-plugin</artifactId>
196+
<version>3.0.1</version>
197+
<executions>
198+
<execution>
199+
<id>sign-artifacts</id>
200+
<phase>verify</phase>
201+
<goals>
202+
<goal>sign</goal>
203+
</goals>
204+
</execution>
205+
</executions>
206+
</plugin>
207+
<!-- Nexus Staging -->
208+
<plugin>
209+
<groupId>org.sonatype.plugins</groupId>
210+
<artifactId>nexus-staging-maven-plugin</artifactId>
211+
<version>1.6.8</version>
212+
<extensions>true</extensions>
213+
<configuration>
214+
<serverId>ossrh</serverId>
215+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
216+
<autoReleaseAfterClose>true</autoReleaseAfterClose>
217+
</configuration>
218+
</plugin>
136219
</plugins>
137220
<resources>
138221
<resource>
@@ -141,4 +224,28 @@
141224
</resource>
142225
</resources>
143226
</build>
227+
228+
<profiles>
229+
<profile>
230+
<id>release</id>
231+
<build>
232+
<plugins>
233+
<plugin>
234+
<groupId>org.apache.maven.plugins</groupId>
235+
<artifactId>maven-gpg-plugin</artifactId>
236+
<version>3.0.1</version>
237+
<executions>
238+
<execution>
239+
<id>sign-artifacts</id>
240+
<phase>verify</phase>
241+
<goals>
242+
<goal>sign</goal>
243+
</goals>
244+
</execution>
245+
</executions>
246+
</plugin>
247+
</plugins>
248+
</build>
249+
</profile>
250+
</profiles>
144251
</project>

0 commit comments

Comments
 (0)