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

module-info.java warnings for ManagedObject, ManagedAttribute, etc #11805

Closed
jmcc0nn3ll opened this issue May 16, 2024 · 1 comment · Fixed by #11831
Closed

module-info.java warnings for ManagedObject, ManagedAttribute, etc #11805

jmcc0nn3ll opened this issue May 16, 2024 · 1 comment · Fixed by #11831
Assignees
Labels
Bug For general bugs on Jetty side

Comments

@jmcc0nn3ll
Copy link
Contributor

Jetty version(s)
Jetty 12

Description

I am looking through errors in the build related to the documentation and saw some warnings. Not sure if they can be ignored or not so I figured I would open an issue.

13:30:44 [INFO] [INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ jetty-ee9-servlets ---
13:30:44 [INFO] [INFO] Recompiling the module because of changed dependency.
13:30:44 [INFO] [INFO] Compiling 10 source files with javac [debug release 17 module-path] to target/classes
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/module-info.java:[17,25] module name component ee9 should avoid terminal digits
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[117,2] class org.eclipse.jetty.util.annotation.ManagedObject in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[265,15] interface org.eclipse.jetty.util.thread.Scheduler in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[728,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[752,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[775,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[798,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[822,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[844,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[868,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[911,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[957,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[976,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[1011,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[1045,6] class org.eclipse.jetty.util.annotation.ManagedOperation in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[1059,6] class org.eclipse.jetty.util.annotation.ManagedOperation in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[1060,41] class org.eclipse.jetty.util.annotation.Name in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[1081,6] class org.eclipse.jetty.util.annotation.ManagedOperation in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/DoSFilter.java:[1082,44] class org.eclipse.jetty.util.annotation.Name in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/QoSFilter.java:[76,2] class org.eclipse.jetty.util.annotation.ManagedObject in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/QoSFilter.java:[288,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/QoSFilter.java:[300,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'
Warning: [INFO] [WARNING] /home/runner/work/jetty.website/jetty.website/.cache/antora/collector/jetty.project-209a1ddd2a9841d98acad57a965ee523f38b517d/jetty-ee9/jetty-ee9-servlets/src/main/java/org/eclipse/jetty/ee9/servlets/QoSFilter.java:[312,6] class org.eclipse.jetty.util.annotation.ManagedAttribute in module org.eclipse.jetty.util is not indirectly exported using 'requires transitive'

@jmcc0nn3ll jmcc0nn3ll added the Bug For general bugs on Jetty side label May 16, 2024
@jmcc0nn3ll
Copy link
Contributor Author

This was one example; many of these warnings are throughout the build.

@sbordet sbordet self-assigned this May 22, 2024
@sbordet sbordet linked a pull request May 22, 2024 that will close this issue
@sbordet sbordet moved this to 🏗 In progress in Jetty 12.0.10 (FROZEN) May 23, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Jetty 12.0.10 (FROZEN) May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For general bugs on Jetty side
Projects
No open projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

2 participants