Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JPMS support #386

Merged
merged 1 commit into from
Jun 27, 2024
Merged

JPMS support #386

merged 1 commit into from
Jun 27, 2024

Conversation

vietj
Copy link
Member

@vietj vietj commented Jun 26, 2024

The vertx-codegen-api declares its own module descriptor as a module-info.java file.

The vertx-codegen-processor and vertx-codegen-json modules instead rely on moditect to generate module descriptor for the sake of preserving the execution of codegen processor tests in IDE. The codegen processor is not intended to be modular, however vertx-codegen-api and vertx-codegen-json are actually consumed by from java modules (e.g io.vertx.core module).

The absence of an module-info descriptor instructs the IDE to run tests in classpath mode which is what we need, hence the moditect is a good fit.

vertx-codegen-api declares its own module descriptor.

vertx-codegen-processor and vertx-codegen-json instead rely on moditect to generate descriptor for the sake of preserving the execution of codegen processor tests in IDE. The codegen processor is not intended to be modular, however vertx-codegen-api and vertx-codegen-json are actually consumed by from java modules (e.g io.vertx.core module).

the absence of an module-info descriptor instructs the IDE to run tests in classpath mode which is exactly what we need, hence the use of moditect for such trivial case.
@vietj vietj added this to the 5.0.0 milestone Jun 26, 2024
@vietj vietj self-assigned this Jun 26, 2024
@vietj vietj merged commit bb13ae4 into master Jun 27, 2024
5 checks passed
@vietj vietj deleted the jpms-support-with-moditect branch June 27, 2024 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant