Don't search custom repositories on default and link dependencies to
repositories.
----------------------------------------------------------------------------------
Key: MNG-470
URL: http://jira.codehaus.org/browse/MNG-470
Project: Maven 2
Type: Improvement
Components: maven-artifact
Versions: 2.0-alpha-3
Environment: all
Reporter: Kenney Westerhof
Fix For: 2.0-alpha-3
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]