PR: MNG-505

clarify

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@219846 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brett Leslie Porter 2005-07-20 06:32:28 +00:00
parent 289aa0f6a5
commit 6ab6bf4e40
1 changed files with 2 additions and 0 deletions

View File

@ -403,6 +403,8 @@ public ArtifactVersion getSelectedVersion()
{
Restriction restriction = (Restriction) restrictions.get( restrictions.size() - 1 );
// TODO: how can we find the latest release before something to facilitate ) at the end?
// Also, how can we find the latest release when there no RELEASE metadata? We need to be maintaining
// a version list in the repository
version = restriction.getUpperBound();
if ( version == null )
{