You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/06/14 02:05:41 UTC
[jira] Closed: (MNG-470) Don't search custom repositories on default and link dependencies to repositories.
[ http://jira.codehaus.org/browse/MNG-470?page=all ]
Brett Porter closed MNG-470:
----------------------------
Resolution: Duplicate
Fix Version: (was: 2.0-alpha-3)
there is already an issue open for the plugin issue you talk about. As for the other part of the request, I believe it is "won't fix". You can override an existing repo by reusing the ID, but otherwise it must be included.
> 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
>
>
> 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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org