You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/10/13 06:48:50 UTC

[jira] Updated: (MRM-964) Method isVersion() for validating an uploaded artifact version is open to criticism

     [ http://jira.codehaus.org/browse/MRM-964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brett Porter updated MRM-964:
-----------------------------

    Fix Version/s: 1.x

> Method isVersion() for validating an uploaded artifact version is open to criticism
> -----------------------------------------------------------------------------------
>
>                 Key: MRM-964
>                 URL: http://jira.codehaus.org/browse/MRM-964
>             Project: Archiva
>          Issue Type: Wish
>          Components: web application
>    Affects Versions: 1.1.2
>         Environment: Client: Windows XP SP3, Firefox 3.0.3
> Server: Linux Red Hat AS 4.0
>            Reporter: Vincent Thévenin
>            Priority: Critical
>             Fix For: 1.x
>
>
> When uploading an artifact, a validation is made against the 'version' field.
> The validation occurs in file $SRC/archiva-modules/archiva-base/archiva-common/src/main/java/org/apache/maven/archiva/common/utils/VersionUtil.java.
> I think such a validation algorithm can be discussed, as it does not let the user free to use its own versioning system. Actually, Maven itself does not seem to restrict the string pattern for the version of an artifact (even if the version ranging may not work), so why restricting it at Archiva level?
> There are cases where you cannot comply with imposed validation method, and where the change of the version system is not permitted for various reasons. The result is you cannot install the artifact using Archiva.

-- 
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