Overview
--------

The aim of this proposal is to specify the URI syntax for artifacts
for java-based projects. It extends the URI syntax proposal:
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&ms
gNo=308

Java project artifacts include, but are not limited to:
   jars, wars, rars, tlds, source and binary distributions, and
   licenses.

URI Components
--------------

An absolute repository URI is written as follows:

  repository-uri = access-specifier "/" product-specifier "/"
                   artifact-specifier

For java artifacts, artifact-specifier is:

  artifact-specifier = [type "/"] artifact
  type = "jars" | "wars" | "rars" | "tlds" | "binaries" | "source"
         | "licenses" | ...
  artifact = artifact-name ["-" version] ["-" stype][.ext]
  artifact-name = *pchar
  stype = "bin" | "src"
  ext = "jar" | "war" | "rar" | "tld" | "tar.gz" | "zip" | ...

Checksums & PGP signatures
--------------------------

All artifacts may have an associated md5 checksum, of the form:

  artifact-specifier ".md5"

or a PGP signatures, of the form:

  artifact-specifier ".asc"

Examples
--------

jars:
  http://repo.apache.org/apache/ant/1.5.4/jars/ant-1.5.4.jar
  http://repo.apache.org/apache/ant/1.5.4/jars/ant-1.5.4.jar.md5
  http://repo.apache.org/apache/ant/1.5.4/jars/ant-optional-1.5.4.jar
  http://repo.apache.org/apache/ant/1.5.4/jars/ant-optional-1.5.4.jar.md5

binaries:
  http://repo.apache.org/apache/ant/1.5.4/binaries/ant-1.5.4-bin.zip
  http://repo.apache.org/apache/ant/1.5.4/binaries/ant-1.5.4-bin.zip.md5
  http://repo.apache.org/apache/ant/1.5.4/binaries/ant-1.5.4-bin.tar.gz
  http://repo.apache.org/apache/ant/1.5.4/binaries/ant-1.5.4-bin.tar.gz.asc

source:
  http://repo.apache.org/apache/ant/1.5.4/source/ant-1.5.4-src.zip
  http://repo.apache.org/apache/ant/1.5.4/source/ant-1.5.4-src.zip.md5
  http://repo.apache.org/apache/ant/1.5.4/source/ant-1.5.4-src.tar.gz
  http://repo.apache.org/apache/ant/1.5.4/source/ant-1.5.4-src.tar.gz.asc

licenses:
  http://repo.apache.org/apache/ant/1.5.4/licenses/LICENSE.txt

PGP keys:
  http://repo.apache.org/apache/ant/1.5.4/KEYS


Reply via email to