>>> Ideally there would be some Maven magic which checks the contents of
>>> the file and ensures it seems like a reasonable pom, jar, war, etc
>>> before saving it to the local repo cache but that does not currently
>>> exist beyond a feature request in JIRA.

> I  think that the suggestion to validate items returned is a good one
> that we should raise with, I think, Aether.

I don't disagree. I'm not sure that we can guarantee much beyond "this
seems to be XML" (I'm not sure that we should test for it being
well-formed etc) or "this seems to be a zip file" (for jars, wars and
ears) but just a basic check of "this is not garbage HTML" would be
sufficient (and a big enhancement) for most users.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to