path and filename parsing is unnecessarily complicated
------------------------------------------------------
Key: MRM-712
URL: http://jira.codehaus.org/browse/MRM-712
Project: Archiva
Issue Type: Bug
Components: repository interface
Affects Versions: 1.0.2
Reporter: Brett Porter
The path, filename and version parsing uses a complicated structure to be able
to appropriately guess which part of a filename is a version, artifactId, and
classifier.
This is needed to be able to effectively proxy and serve maven1 requests where
the information is unclear.
However, this code is also used for m2 requests where the format of the
filename can be clearly derived from the rest of the path.
I suggest the code be separated into different handlers based on the layout so
that the m2 requests can be simplified.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira