Skip to content

Commit 8d8a9ae

Browse files
committed
Bump vertx5-parent to 4 and adjust compiler processor configuration
1 parent 859a564 commit 8d8a9ae

File tree

2 files changed

+14
-12
lines changed

2 files changed

+14
-12
lines changed

pom.xml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>io.vertx</groupId>
2222
<artifactId>vertx5-parent</artifactId>
23-
<version>3</version>
23+
<version>4</version>
2424
</parent>
2525

2626
<artifactId>vertx-http-proxy</artifactId>
@@ -59,13 +59,18 @@
5959

6060
<dependency>
6161
<groupId>io.vertx</groupId>
62-
<artifactId>vertx-docgen</artifactId>
63-
<scope>provided</scope>
62+
<artifactId>vertx-codegen-api</artifactId>
63+
<optional>true</optional>
6464
</dependency>
6565
<dependency>
6666
<groupId>io.vertx</groupId>
67-
<artifactId>vertx-codegen</artifactId>
68-
<scope>provided</scope>
67+
<artifactId>vertx-codegen-json</artifactId>
68+
<optional>true</optional>
69+
</dependency>
70+
<dependency>
71+
<groupId>io.vertx</groupId>
72+
<artifactId>vertx-docgen-api</artifactId>
73+
<optional>true</optional>
6974
</dependency>
7075

7176
<dependency>
@@ -96,20 +101,17 @@
96101
<executions>
97102
<execution>
98103
<id>default-compile</id>
99-
<phase>compile</phase>
100104
<configuration>
101-
<annotationProcessors>
102-
<annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
103-
<annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor>
104-
</annotationProcessors>
105105
<annotationProcessorPaths>
106106
<annotationProcessorPath>
107107
<groupId>io.vertx</groupId>
108108
<artifactId>vertx-codegen</artifactId>
109+
<classifier>processor</classifier>
109110
</annotationProcessorPath>
110111
<annotationProcessorPath>
111112
<groupId>io.vertx</groupId>
112-
<artifactId>vertx-docgen</artifactId>
113+
<artifactId>vertx-docgen-processor</artifactId>
114+
<classifier>processor</classifier>
113115
</annotationProcessorPath>
114116
</annotationProcessorPaths>
115117
</configuration>

src/main/java/module-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
requires static io.vertx.codegen.api;
55
requires static io.vertx.codegen.json;
66
requires io.netty.codec.http;
7-
requires static vertx.docgen;
7+
requires static io.vertx.docgen;
88
exports io.vertx.httpproxy;
99
exports io.vertx.httpproxy.cache;
1010
exports io.vertx.httpproxy.interceptors;

0 commit comments

Comments
 (0)