Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.0-alpha-3
-
None
-
None
-
all
Description
When an additional repository is defined in the pom, it gets prepended to the search
path.
I'd like to add an option to the repository definition (both for plugin and normal artifacts)
that says something like 'dont-consult-on-default'.
Then add another option to dependencies and plugin references like
<repo>repo1</repo> (optional)
that states which repository should be consulted.
A part of the problem is that when plugin developers host their own plugins,
the repository is prepended to the repository list, and for every artifact of the same
type (normal or plugin) the repository gets checked first, and finally ibiblio. This causes
unnecessary load on the plugin providers repositories.
Further, if a plugin gets resolved to a specific repository, some dependencies
are most likely also on that repository. If the repository the plugin is hosted on is
listed as a 'normal' repository then one could specify some dependencies to
that repository in the pom, so it only gets consulted when needed.
Attachments
Issue Links
- duplicates
-
MNG-229 plugin repository separation mixup
- Closed