Hi there,

I'm wondering what the best approach is to fix MNG-2994 [1].  The
problem appears to be that the RepositoryMetadata implementation for
an artifact directory itself returns false for isSnapshot.  The code
states that this is done since version information is below this
metadata, which is true, although returning false is misleading for
reasons described in the issue.

I'd have thought we would need a way for RepositoryMetadata.isSnapshot
to state it doesn't yet know whether it is a snapshot or not.  Either
changing the return type to Boolean to allow null, or introducing a
further method would work.  I believe this problem may also affect
Artifact.isSnapshot.

Any thoughts on the best way forward?

Cheers,

Mark

[1] http://jira.codehaus.org/browse/MNG-2994

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to