> From: Nick Chalko [mailto:[EMAIL PROTECTED]
> Given this spec
> repository-uri = access-specifier "/" product-specifier "/"
> version-specifier "/" artifact-specifier
> What is the version of this URL
> * Projet commons, version Nightly 1.0 alpha
> * Project commons-nightly, version 1.0 alpha
> * Project commons-nightly-alpah version 1.0 (release)
> I think we should tighten the spec enough so we can at least tell the
> access, product,version, and artifact specifiers appart.
The URI isn't valid, according to
as a nightly build is an interim build:
interim-build = interim-build-designation "/" version
[ "/" interim-version ]
interim-version = "latest" | YYYYMMDD ["-" HHMM [SS]]
interim-build-designation = "interim" | "nightly" | "snapshot" | ...
version = "latest" | *pchar
IOW, one of "alpha" or "1.0" is invalid.
However, given the URI:
it is possible to determine the version using the common build version
specifier and java artifact specifier proposals, by parsing the URI
from right to left.
It isn't possible to separate the organisation from the directory
component of access-specifier however.
it could be interpreted as:
. directory = "org", organisation = "apache"
. directory = "", organisation = "org/apache"