You are viewing a plain text version of this content. The canonical link for it is here.
Posted to m2-dev@maven.apache.org by "John Casey (JIRA)" <ji...@codehaus.org> on 2005/03/21 09:54:50 UTC

[jira] Commented: (MNG-196) implement v2 repository in maven-artifact

     [ http://jira.codehaus.org/browse/MNG-196?page=comments#action_31174 ]
     
John Casey commented on MNG-196:
--------------------------------

Implemented, but not yet tested.

Separated the layout stuff from DefaultArtifactHandlerManager into:

org.apache.maven.artifact.repository.layout.

ArtifactRepositoryLayout
AbstractArtifactRepositoryLayout
DefaultRepositoryLayout (new format)
LegacyRepositoryLayout

In all code, the default is still the old format, at least until we get the repo1 conversion finished. There are command-line options for switching the format for your localRepo (-a/-A), but nothing yet for switching the remote repos, since that should be repository-dependent.

These new layout components are associated with ArtifactRepository instances (they are required for construction), so path formatting has been moved to the repository itself.

> implement v2 repository in maven-artifact
> -----------------------------------------
>
>          Key: MNG-196
>          URL: http://jira.codehaus.org/browse/MNG-196
>      Project: m2
>         Type: Task
>   Components: maven-artifact
>     Reporter: Brett Porter
>     Assignee: John Casey
>      Fix For: 1.0-alpha-1

>
>
> Allow maven-artifact to be configured to use the following repository layout:
> http://docs.codehaus.org/pages/viewpage.action?pageId=22230
> It must also be able to handle the old format as well.
> For now, how the layout is selected can be hardcoded - in the future the layout can be stored in the repository as metadata and cached.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira