-
Notifications
You must be signed in to change notification settings - Fork 33
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
Consider resolving artifacts with transitivity enabled #92
Comments
This may be trickier than I thought. Enabling global transitivity may result in duplicate modules that need not be loaded again, for example layers:
log:
modules:
# - "org.apache.logging.log4j:log4j-api:2.14.0"
- "org.apache.logging.log4j:log4j-core:2.14.0"
- "org.moditect.layrry.it:it-logconfig:1.0.0"
foo:
parents:
- "log"
modules:
# - "org.moditect.layrry.it:it-greeter:1.0.0"
- "org.moditect.layrry.it:it-foo:1.0.0"
bar:
parents:
- "log"
modules:
# - "org.moditect.layrry.it:it-greeter:2.0.0"
- "org.moditect.layrry.it:it-bar:1.0.0"
app:
parents:
- "foo"
- "bar"
modules:
- "org.moditect.layrry.it:it-app:1.0.0"
main:
module: org.moditect.layrry.it.app
class: org.moditect.layrry.it.app.App The If transitivity is enabled then duplicate entries (found in parent layers) must be purged from the list of JAR paths before creating the current layer. This also means we have to keep track of JAR paths per layer. Currently we only keep track of |
…re remote repositories
As of
1.0.0.Alpha1
layers must have all pertaining artifacts defined explicitly.Consider adding an option to allow transitivity during artifact resolution (will work for Maven compatible repositories, not for local repositories (flat, default)). This option could be global (affects all layers) or perhaps activated per layer.
The text was updated successfully, but these errors were encountered: