jetty.project icon indicating copy to clipboard operation
jetty.project copied to clipboard

Review mechanism to scan jars from class-path and module-path

Open sbordet opened this issue 7 years ago • 7 comments

In Jetty 10, jar scanning is done in MetaInfConfiguration and tested in MetaInfConfigurationTest.

We need to review the logic that finds the jars to scan, depending on whether we run Jetty from the class-path or the module-path.

To complicate matters, the Maven Surefire Plugin will always run the tests from the module-path if a module-info.java is present. This makes difficult to add a path to the module-path to verify that jars are indeed picked up from the module-path.

We also need a way to figure out that we are not running from the module-path (perhaps using the Module API) and skip the search on the module-path.

Perhaps we also need a way to force to not look at the module-path, or to force to not look at the class-path, different from what we have now, which is based on Java platform numbers.

sbordet avatar Oct 16 '18 08:10 sbordet

See also #3321.

sbordet avatar Feb 13 '19 09:02 sbordet

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Feb 13 '20 10:02 stale[bot]

give it a bit of time

olamy avatar Feb 13 '20 10:02 olamy

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 09 '21 02:06 stale[bot]

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 13 '22 00:06 github-actions[bot]

This issue has been automatically marked as stale because it has been a full year without activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Jun 15 '23 00:06 github-actions[bot]