Skip to content

Commit

Permalink
JPMS support
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Sep 27, 2024
1 parent 63d414d commit 4d2cc00
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 89 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,6 @@
<artifactId>vertx-codegen</artifactId>
<classifier>processor</classifier>
</annotationProcessorPath>
<annotationProcessorPath>
<groupId>io.vertx</groupId>
<artifactId>vertx-docgen-processor</artifactId>
<classifier>processor</classifier>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
</execution>
Expand Down
46 changes: 0 additions & 46 deletions src/main/asciidoc/enums.adoc

This file was deleted.

6 changes: 6 additions & 0 deletions src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module io.vertx.eventbusbridge {
requires static io.vertx.codegen.api;
requires static io.vertx.codegen.json;
requires io.vertx.core;
exports io.vertx.ext.bridge;
}
2 changes: 0 additions & 2 deletions src/main/resources/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
Automatic-Module-Name: io.vertx.eventbusbridge.common

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package io.vertx.ext.bridge;
package io.vertx.ext.bridge.tests;

import io.vertx.core.json.JsonObject;
import io.vertx.ext.bridge.BridgeOptions;
import io.vertx.ext.bridge.PermittedOptions;
import org.junit.Test;

import java.util.ArrayList;
Expand Down Expand Up @@ -80,4 +82,4 @@ public void testSerialization() {
assertThat(options2.getOutboundPermitteds()).hasSize(1);
}

}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.vertx.ext.bridge;
package io.vertx.ext.bridge.tests;

import io.vertx.core.json.JsonObject;
import io.vertx.ext.bridge.PermittedOptions;
import org.junit.Test;

import static org.assertj.core.api.Assertions.assertThat;
Expand Down Expand Up @@ -60,4 +61,4 @@ public void testSerializationPermittedOption() {
assertThat(options2.getMatch()).isEqualTo(new JsonObject().put("foo", ""));
}

}
}
5 changes: 5 additions & 0 deletions src/test/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
open module io.vertx.eventbusbridge.tests {
requires io.vertx.core;
requires io.vertx.eventbusbridge;
requires junit;
}

This file was deleted.

0 comments on commit 4d2cc00

Please sign in to comment.