Skip to content

Commit

Permalink
Bump vertx5-parent to 4 and adjust compiler processor configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Sep 10, 2024
1 parent 9e9c95d commit 7ad9326
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
22 changes: 12 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>io.vertx</groupId>
<artifactId>vertx5-parent</artifactId>
<version>3</version>
<version>4</version>
</parent>

<artifactId>vertx-openapi</artifactId>
Expand Down Expand Up @@ -67,14 +67,18 @@
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-codegen</artifactId>
<scope>provided</scope>
<artifactId>vertx-codegen-api</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-docgen</artifactId>
<scope>provided</scope>
<artifactId>vertx-codegen-json</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-docgen-api</artifactId>
<optional>true</optional>
</dependency>

<!-- Test deps -->
Expand Down Expand Up @@ -107,18 +111,16 @@
<id>default-compile</id>
<phase>compile</phase>
<configuration>
<annotationProcessors>
<annotationProcessor>io.vertx.codegen.CodeGenProcessor</annotationProcessor>
<annotationProcessor>io.vertx.docgen.JavaDocGenProcessor</annotationProcessor>
</annotationProcessors>
<annotationProcessorPaths>
<annotationProcessorPath>
<groupId>io.vertx</groupId>
<artifactId>vertx-codegen</artifactId>
<classifier>processor</classifier>
</annotationProcessorPath>
<annotationProcessorPath>
<groupId>io.vertx</groupId>
<artifactId>vertx-docgen</artifactId>
<artifactId>vertx-docgen-processor</artifactId>
<classifier>processor</classifier>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
requires io.vertx.core.logging;

requires static io.vertx.codegen.api;
requires static vertx.docgen;
requires static io.vertx.docgen;

exports io.vertx.openapi.contract;
exports io.vertx.openapi.validation;
Expand Down

0 comments on commit 7ad9326

Please sign in to comment.