Jesse Glick commented on Task MNBMODULE-138

Regarding use of *-mirrors masking central: indeed this does break trackedInCentral. Still I think it is better to have this feature work when you are not using such a mirror than not to work at all. I am not sure if it possible for the plugin to automatically detect whether an artifact retrieved via mirror is in fact available in Central or not, so perhaps follow this algorithm:

1. If a plugin configuration element claims this artifact is in Central, then create the *.external; if it claims it is not, do not.
2. Otherwise (no such configuration) if _maven.repositories exists and says >central then create but issue a warning recommending the configuration in #1.
3. Otherwise (using Maven 2, or claims to be in another repo) try to make an online connection to Central to check for existence of this artifact; if present, create but again issue a warning.
4. Otherwise (not in Central, or offline or cannot reach Central) do not create but issue a warning.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
--------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

Reply via email to