[
http://jira.codehaus.org/browse/MRM-1423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=236433#action_236433
]
Wendy Smoak commented on MRM-1423:
----------------------------------
Would a better summary be, "Blacklisting doesn't remove artifacts that were
previously proxied" ?
It sounds like that's what you want.
(Removing something from the metadata won't prevent someone from accessing the
artifact. It might not show up in browse or search, and it would mess up
plugin and snapshot retrieval, but normal released artifacts would still work
fine as far as 'mvn install' goes.)
> Blacklisting doesn't update existing metadata files
> ---------------------------------------------------
>
> Key: MRM-1423
> URL: http://jira.codehaus.org/browse/MRM-1423
> Project: Archiva
> Issue Type: Bug
> Components: remote proxy
> Affects Versions: 1.3.1
> Reporter: Philip K. Warren
>
> When using the remote proxy support, I found that updating proxies to add
> blacklisted items didn't trigger any sort of update of the metadata in the
> repository. I was expecting that any references to metadata or previously
> downloaded artifacts from the blacklisted portion of the repository would be
> removed.
> For example, create two remote repositories - one for Maven central and one
> for JBoss public. Then run 'mvn archetype:generate' against Archiva. It will
> download the archetype plug-in metadata from both central and JBoss (JBoss
> has SNAPSHOT versions).
> Then configure a blacklist of 'org/apache/maven/**' on the JBoss repository.
> Expected behavior:
> 1) Metadata should be rebuilt to remove any references to artifacts in the
> blacklisted portion of the JBoss repository.
> Actual behavior:
> 1) Metadata remains for the blacklisted paths.
> The only way I could determine how to fix this was to remove this portion of
> Archiva and manually trigger a re-indexing of the repository.
--
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