Skip to content

Commit 34b4d16

Browse files
committed
build: update project to 0.3.0
Signed-off-by: Zhangjian He <[email protected]>
1 parent 4a9b98f commit 34b4d16

File tree

11 files changed

+122
-166
lines changed

11 files changed

+122
-166
lines changed

pom.xml

Lines changed: 100 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66

77
<groupId>io.github.protocol-laboratory</groupId>
88
<artifactId>pulsar-admin-parent</artifactId>
9-
<version>0.2.0</version>
9+
<version>0.3.0</version>
1010
<packaging>pom</packaging>
1111

1212
<modules>
13-
<module>pulsar-admin-bom</module>
14-
<module>pulsar-admin-parent-dependencies</module>
1513
<module>pulsar-admin</module>
1614
<module>pulsar-admin-api</module>
1715
<module>pulsar-admin-common</module>
@@ -24,26 +22,112 @@
2422
<maven.compiler.target>8</maven.compiler.target>
2523
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2624
<src.dir>src/main/java</src.dir>
25+
<!-- dependency -->
26+
<annotations.version>13.0</annotations.version>
27+
<awaitility.version>4.2.2</awaitility.version>
28+
<embedded-pulsar.version>0.0.5</embedded-pulsar.version>
29+
<http-facade.version>0.5.0</http-facade.version>
30+
<jackson.version>2.17.2</jackson.version>
31+
<junit.version>5.11.0</junit.version>
32+
<log4j.version>2.20.0</log4j.version>
33+
<lombok.version>1.18.34</lombok.version>
34+
<netty.version>4.1.112.Final</netty.version>
35+
<puppycrawl.version>10.18.0</puppycrawl.version>
36+
<reactor-netty.version>1.1.22</reactor-netty.version>
37+
<spring.version>6.1.12</spring.version>
38+
<spring-boot.version>3.2.9</spring-boot.version>
39+
<vertx.version>4.5.10</vertx.version>
2740
<!-- plugin -->
28-
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
41+
<central-publishing-maven-plugin.version>0.6.0</central-publishing-maven-plugin.version>
2942
<lombok-maven-plugin.version>1.18.20.0</lombok-maven-plugin.version>
30-
<lombok.version>1.18.34</lombok.version>
31-
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
43+
<jacoco-maven-plugin.version>0.8.12</jacoco-maven-plugin.version>
3244
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
33-
<maven-enforce-plugin-maven.version>3.8.0</maven-enforce-plugin-maven.version>
45+
<maven-checkstyle-plugin.version>3.5.0</maven-checkstyle-plugin.version>
3446
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
47+
<maven-enforce-plugin-maven.version>3.8.0</maven-enforce-plugin-maven.version>
3548
<maven-gpg-plugin.version>3.2.5</maven-gpg-plugin.version>
3649
<maven-javadoc-plugin.version>3.10.0</maven-javadoc-plugin.version>
3750
<maven-release-plugin.version>3.1.1</maven-release-plugin.version>
3851
<maven-scm-provider-gitexe.version>2.1.0</maven-scm-provider-gitexe.version>
3952
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
4053
<maven-surefire-plugin.version>3.5.0</maven-surefire-plugin.version>
41-
<nexus-staging-maven-plugin.version>1.7.0</nexus-staging-maven-plugin.version>
42-
<puppycrawl.version>10.18.0</puppycrawl.version>
4354
<spotbugs-maven-plugin.version>4.8.6.2</spotbugs-maven-plugin.version>
4455
<spotless-maven-plugin.version>2.43.0</spotless-maven-plugin.version>
4556
</properties>
4657

58+
<dependencyManagement>
59+
<dependencies>
60+
<dependency>
61+
<groupId>io.github.openfacade</groupId>
62+
<artifactId>http-facade-bom</artifactId>
63+
<version>${http-facade.version}</version>
64+
<type>pom</type>
65+
<scope>import</scope>
66+
</dependency>
67+
<dependency>
68+
<groupId>com.fasterxml.jackson</groupId>
69+
<artifactId>jackson-bom</artifactId>
70+
<version>${jackson.version}</version>
71+
<type>pom</type>
72+
<scope>import</scope>
73+
</dependency>
74+
<dependency>
75+
<groupId>io.netty</groupId>
76+
<artifactId>netty-transport-native-epoll</artifactId>
77+
<classifier>linux-x86_64</classifier>
78+
<version>${netty.version}</version>
79+
<scope>test</scope>
80+
</dependency>
81+
</dependencies>
82+
</dependencyManagement>
83+
84+
<dependencies>
85+
<dependency>
86+
<groupId>org.projectlombok</groupId>
87+
<artifactId>lombok</artifactId>
88+
<version>${lombok.version}</version>
89+
</dependency>
90+
<dependency>
91+
<groupId>org.jetbrains</groupId>
92+
<artifactId>annotations</artifactId>
93+
<version>${annotations.version}</version>
94+
</dependency>
95+
<dependency>
96+
<groupId>com.fasterxml.jackson.core</groupId>
97+
<artifactId>jackson-databind</artifactId>
98+
</dependency>
99+
<dependency>
100+
<groupId>org.awaitility</groupId>
101+
<artifactId>awaitility</artifactId>
102+
<version>${awaitility.version}</version>
103+
<scope>test</scope>
104+
</dependency>
105+
<dependency>
106+
<groupId>org.junit.jupiter</groupId>
107+
<artifactId>junit-jupiter-engine</artifactId>
108+
<version>${junit.version}</version>
109+
<scope>test</scope>
110+
</dependency>
111+
<dependency>
112+
<groupId>org.junit.jupiter</groupId>
113+
<artifactId>junit-jupiter-params</artifactId>
114+
<version>${junit.version}</version>
115+
<scope>test</scope>
116+
</dependency>
117+
<dependency>
118+
<groupId>org.apache.logging.log4j</groupId>
119+
<artifactId>log4j-slf4j-impl</artifactId>
120+
<version>${log4j.version}</version>
121+
<scope>test</scope>
122+
</dependency>
123+
<dependency>
124+
<groupId>io.github.embedded-middleware</groupId>
125+
<artifactId>embedded-pulsar-core</artifactId>
126+
<version>${embedded-pulsar.version}</version>
127+
<scope>test</scope>
128+
</dependency>
129+
</dependencies>
130+
47131
<build>
48132
<sourceDirectory>${src.dir}</sourceDirectory>
49133
<plugins>
@@ -190,14 +274,13 @@
190274
</executions>
191275
</plugin>
192276
<plugin>
193-
<groupId>org.sonatype.plugins</groupId>
194-
<artifactId>nexus-staging-maven-plugin</artifactId>
195-
<version>${nexus-staging-maven-plugin.version}</version>
277+
<groupId>org.sonatype.central</groupId>
278+
<artifactId>central-publishing-maven-plugin</artifactId>
279+
<version>${central-publishing-maven-plugin.version}</version>
196280
<extensions>true</extensions>
197281
<configuration>
198-
<serverId>ossrh</serverId>
199-
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
200-
<autoReleaseAfterClose>true</autoReleaseAfterClose>
282+
<publishingServerId>central</publishingServerId>
283+
<tokenAuth>true</tokenAuth>
201284
</configuration>
202285
</plugin>
203286
<plugin>
@@ -240,8 +323,8 @@
240323

241324
<developers>
242325
<developer>
243-
<name>shootHzj</name>
244-
<email>shoothzj@gmail.com</email>
326+
<name>Zhangjian He</name>
327+
<email>hezhangjian97@gmail.com</email>
245328
</developer>
246329
</developers>
247330

@@ -252,17 +335,6 @@
252335
<tag>HEAD</tag>
253336
</scm>
254337

255-
<distributionManagement>
256-
<snapshotRepository>
257-
<id>ossrh</id>
258-
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
259-
</snapshotRepository>
260-
<repository>
261-
<id>ossrh</id>
262-
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
263-
</repository>
264-
</distributionManagement>
265-
266338
<profiles>
267339
<profile>
268340
<id>release-sign-artifacts</id>

pulsar-admin-api/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,17 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent-dependencies</artifactId>
9-
<version>0.2.0</version>
10-
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
8+
<artifactId>pulsar-admin-parent</artifactId>
9+
<version>0.3.0</version>
1110
</parent>
1211

12+
<name>Pulsar admin API</name>
1313
<artifactId>pulsar-admin-api</artifactId>
14+
1415
<dependencies>
1516
<dependency>
1617
<groupId>io.github.openfacade</groupId>
1718
<artifactId>http-facade</artifactId>
18-
<version>${http-facade.version}</version>
1919
</dependency>
2020
</dependencies>
2121
</project>

pulsar-admin-bom/pom.xml

Lines changed: 0 additions & 52 deletions
This file was deleted.

pulsar-admin-common/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent-dependencies</artifactId>
9-
<version>0.2.0</version>
10-
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
8+
<artifactId>pulsar-admin-parent</artifactId>
9+
<version>0.3.0</version>
1110
</parent>
1211

12+
<name>Pulsar admin Common</name>
1313
<artifactId>pulsar-admin-common</artifactId>
1414

1515
<dependencies>

pulsar-admin-parent-dependencies/pom.xml

Lines changed: 0 additions & 64 deletions
This file was deleted.

pulsar-admin-reactive/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent-dependencies</artifactId>
9-
<version>0.2.0</version>
10-
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
8+
<artifactId>pulsar-admin-parent</artifactId>
9+
<version>0.3.0</version>
1110
</parent>
1211

12+
<name>Pulsar admin Reactive</name>
1313
<artifactId>pulsar-admin-reactive</artifactId>
1414

1515
<dependencies>

pulsar-admin/pom.xml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<modelVersion>4.0.0</modelVersion>
66
<parent>
77
<groupId>io.github.protocol-laboratory</groupId>
8-
<artifactId>pulsar-admin-parent-dependencies</artifactId>
9-
<version>0.2.0</version>
10-
<relativePath>../pulsar-admin-parent-dependencies</relativePath>
8+
<artifactId>pulsar-admin-parent</artifactId>
9+
<version>0.3.0</version>
1110
</parent>
1211

12+
<name>Pulsar admin</name>
1313
<artifactId>pulsar-admin</artifactId>
1414

1515
<dependencies>
@@ -21,18 +21,15 @@
2121
<dependency>
2222
<groupId>io.github.openfacade</groupId>
2323
<artifactId>http-facade</artifactId>
24-
<version>${http-facade.version}</version>
2524
</dependency>
2625
<dependency>
2726
<groupId>org.apache.httpcomponents.client5</groupId>
2827
<artifactId>httpclient5</artifactId>
29-
<version>${apache-http-client.version}</version>
3028
<scope>test</scope>
3129
</dependency>
3230
<dependency>
3331
<groupId>com.squareup.okhttp3</groupId>
3432
<artifactId>okhttp</artifactId>
35-
<version>${okhttp.version}</version>
3633
<scope>test</scope>
3734
</dependency>
3835
<dependency>

0 commit comments

Comments
 (0)