Add Maven Artifact -> Remote tab does not display items having href="http://..."

Editor
Oct 6, 2009 at 9:19 AM

We've encountered this issue and after investigating, we've found out that the reason for the items not to appear is because the links/items in that URL have <a href="http//...". The Remote tab in Add Maven artifact is designed such that it will exclude such links from displaying. it will only accept relative links like href="Artifacts/" as this is the convention set by Archiva.

Should we continue with this logic?

Coordinator
Oct 7, 2009 at 3:20 AM

I'd say HTTP URLs should be allowed. You can trim off the current URL from the start (and if it doesn't start with the current URL and is not relative, ignore it - that means it is . or ..)