-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fail on duplicate modules on the module path
When resolving the module path, no module id is allowed to exist multiple times. The location manager used to drop duplicates silently which led to hard to understand error messages when a plugin using plexus-java dropped a dependency without any notice. This change enforces uniqueness of module names on the module path and will add an exception to the PathResolveResult in that case.
- Loading branch information
Showing
4 changed files
with
78 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+371 Bytes
plexus-java/src/test/resources/jar.tests/plexus-java-1.0.0-SNAPSHOT-tests.jar
Binary file not shown.
Binary file added
BIN
+855 Bytes
plexus-java/src/test/resources/jar.tests/plexus-java-1.0.0-SNAPSHOT.jar
Binary file not shown.