Skip to content

Commit 3924400

Browse files
committed
Bump vertx5-parent to 4 and adjust compiler processor configuration
1 parent 655527b commit 3924400

File tree

15 files changed

+43
-91
lines changed

15 files changed

+43
-91
lines changed

pom.xml

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>io.vertx</groupId>
2323
<artifactId>vertx5-parent</artifactId>
24-
<version>3</version>
24+
<version>4</version>
2525
</parent>
2626

2727
<artifactId>vertx-sql-client-parent</artifactId>
@@ -71,6 +71,23 @@
7171

7272
<dependencies>
7373

74+
<!-- Code generation -->
75+
<dependency>
76+
<groupId>io.vertx</groupId>
77+
<artifactId>vertx-codegen-api</artifactId>
78+
<optional>true</optional>
79+
</dependency>
80+
<dependency>
81+
<groupId>io.vertx</groupId>
82+
<artifactId>vertx-codegen-json</artifactId>
83+
<optional>true</optional>
84+
</dependency>
85+
<dependency>
86+
<groupId>io.vertx</groupId>
87+
<artifactId>vertx-docgen-api</artifactId>
88+
<optional>true</optional>
89+
</dependency>
90+
7491
<!-- Testing purposes -->
7592
<dependency>
7693
<groupId>junit</groupId>
@@ -118,18 +135,16 @@
118135
<execution>
119136
<id>default-compile</id>
120137
<configuration>
121-
<annotationProcessors>
122-
<annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
123-
<annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor>
124-
</annotationProcessors>
125138
<annotationProcessorPaths>
126139
<annotationProcessorPath>
127140
<groupId>io.vertx</groupId>
128141
<artifactId>vertx-codegen</artifactId>
142+
<classifier>processor</classifier>
129143
</annotationProcessorPath>
130144
<annotationProcessorPath>
131145
<groupId>io.vertx</groupId>
132-
<artifactId>vertx-docgen</artifactId>
146+
<artifactId>vertx-docgen-processor</artifactId>
147+
<classifier>processor</classifier>
133148
</annotationProcessorPath>
134149
</annotationProcessorPaths>
135150
<compilerArgs>

vertx-db2-client/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@
3838
<groupId>io.vertx</groupId>
3939
<artifactId>vertx-core</artifactId>
4040
</dependency>
41-
<dependency>
42-
<groupId>io.vertx</groupId>
43-
<artifactId>vertx-codegen</artifactId>
44-
<optional>true</optional>
45-
</dependency>
46-
<dependency>
47-
<groupId>io.vertx</groupId>
48-
<artifactId>vertx-docgen</artifactId>
49-
<optional>true</optional>
50-
</dependency>
5141
<dependency>
5242
<groupId>io.vertx</groupId>
5343
<artifactId>vertx-sql-client</artifactId>

vertx-db2-client/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
exports io.vertx.db2client;
1414
exports io.vertx.db2client.spi;
1515

16-
requires static vertx.docgen;
16+
requires static io.vertx.docgen;
1717
requires static io.vertx.codegen.api;
1818
requires static io.vertx.codegen.json;
1919

vertx-mssql-client/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,6 @@
2323
<groupId>io.vertx</groupId>
2424
<artifactId>vertx-core</artifactId>
2525
</dependency>
26-
<dependency>
27-
<groupId>io.vertx</groupId>
28-
<artifactId>vertx-codegen</artifactId>
29-
<optional>true</optional>
30-
</dependency>
31-
<dependency>
32-
<groupId>io.vertx</groupId>
33-
<artifactId>vertx-docgen</artifactId>
34-
<optional>true</optional>
35-
</dependency>
3626
<dependency>
3727
<groupId>io.vertx</groupId>
3828
<artifactId>vertx-sql-client</artifactId>

vertx-mssql-client/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
exports io.vertx.mssqlclient;
1414
exports io.vertx.mssqlclient.spi;
1515

16-
requires static vertx.docgen;
16+
requires static io.vertx.docgen;
1717
requires static io.vertx.codegen.api;
1818
requires static io.vertx.codegen.json;
1919

vertx-mysql-client/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,6 @@
3838
<groupId>io.vertx</groupId>
3939
<artifactId>vertx-core</artifactId>
4040
</dependency>
41-
<dependency>
42-
<groupId>io.vertx</groupId>
43-
<artifactId>vertx-codegen</artifactId>
44-
<optional>true</optional>
45-
</dependency>
46-
<dependency>
47-
<groupId>io.vertx</groupId>
48-
<artifactId>vertx-docgen</artifactId>
49-
<optional>true</optional>
50-
</dependency>
5141
<dependency>
5242
<groupId>io.vertx</groupId>
5343
<artifactId>vertx-sql-client</artifactId>

vertx-mysql-client/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
exports io.vertx.mysqlclient.spi;
1515
exports io.vertx.mysqlclient.data.spatial;
1616

17-
requires static vertx.docgen;
17+
requires static io.vertx.docgen;
1818
requires static io.vertx.codegen.api;
1919
requires static io.vertx.codegen.json;
2020

vertx-oracle-client/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,6 @@
5151
<groupId>io.vertx</groupId>
5252
<artifactId>vertx-core</artifactId>
5353
</dependency>
54-
<dependency>
55-
<groupId>io.vertx</groupId>
56-
<artifactId>vertx-codegen</artifactId>
57-
<optional>true</optional>
58-
</dependency>
59-
<dependency>
60-
<groupId>io.vertx</groupId>
61-
<artifactId>vertx-docgen</artifactId>
62-
<optional>true</optional>
63-
</dependency>
6454
<dependency>
6555
<groupId>io.vertx</groupId>
6656
<artifactId>vertx-sql-client</artifactId>

vertx-oracle-client/src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
exports io.vertx.oracleclient.data;
1616
exports io.vertx.oracleclient.spi;
1717

18-
requires static vertx.docgen;
18+
requires static io.vertx.docgen;
1919
requires static io.vertx.codegen.api;
2020
requires static io.vertx.codegen.json;
2121

vertx-pg-client/pom.xml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@
4343
<groupId>io.vertx</groupId>
4444
<artifactId>vertx-core</artifactId>
4545
</dependency>
46-
<dependency>
47-
<groupId>io.vertx</groupId>
48-
<artifactId>vertx-codegen</artifactId>
49-
<optional>true</optional>
50-
</dependency>
51-
<dependency>
52-
<groupId>io.vertx</groupId>
53-
<artifactId>vertx-docgen</artifactId>
54-
<optional>true</optional>
55-
</dependency>
5646
<dependency>
5747
<groupId>io.vertx</groupId>
5848
<artifactId>vertx-sql-client</artifactId>

0 commit comments

Comments
 (0)