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

improve description of -nouses #6441

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion docs/_instructions/nouses.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,13 @@ title: -nouses BOOLEAN
summary: Do not calculate uses directives on package exports or on capabilities.
---

Do not calculate the uses directive on package exports or on capabilities.
Do not calculate the [uses directive](https://docs.osgi.org/specification/osgi.core/8.0.0/framework.module.html#i3127019) on package exports or on capabilities, if set to _true_.
Default: _false_

For example:

-nouses: true


**Warning:**
Setting this flag to _true_ is rarely needed and can be **dangerous**. Without any _uses_ clause, all packages are treated as independent from each other. That means the OSGi resolver is free to wire these packages to different classloaders if used by a consumer (or its dependencies).
Loading