maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Porter (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MRM-412) Add support for maven1 (legacy) request to access a maven2 (default layout) repo
Date Tue, 31 Jul 2007 13:32:13 GMT

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

Brett Porter updated MRM-412:
-----------------------------

    Fix Version/s:     (was: 1.0.x)
                   1.0-beta-1

patch to review

> Add support for maven1 (legacy) request to access a maven2 (default layout) repo
> --------------------------------------------------------------------------------
>
>                 Key: MRM-412
>                 URL: http://jira.codehaus.org/browse/MRM-412
>             Project: Archiva
>          Issue Type: Improvement
>          Components: WebDAV interface
>    Affects Versions: 1.0-alpha-2
>            Reporter: nicolas de loof
>            Priority: Minor
>             Fix For: 1.0-beta-1
>
>         Attachments: archiva-1.0-alpha-2.patch
>
>
> archiva 1.0-alpha-1 doesn't support converting legacy-layout request to default layout.
This behaviour is usefull to allow maven1 to access a maven2 repository, and avoid having
multiple managed repo as proxies to central.
> The attached patch add this support :
> - it adds to BidirectionalRepositoryLayout the new method boolean isValidPath( String
path )
> - it adds to BidirectionalRepositoryLayoutFactory the new method BidirectionalRepositoryLayout
getLayoutForPath( String path )
> - it use them to detect the layout used by incoming request and build the ArchivaArtifact
object used to proxy the request. It aslo overrides the pathInfo to make the request point
to the real-file path in the managed repository
> BidirectionalRepositoryLayoutFactoryTest also updated

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

        

Mime
View raw message