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 "Brett Porter (JIRA)" <ji...@codehaus.org> on 2005/03/15 02:20:47 UTC

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

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
 Assigned to: 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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-196?page=history ]

John Casey updated MNG-196:
---------------------------

    Remaining Estimate: 18000
     Original Estimate: 18000

> 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

>
> Original Estimate: 5 hours
>         Remaining: 5 hours
>
> 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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-196?page=history ]
     
Work on MNG-196 started by John Casey

> 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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-196?page=worklog#action_31247 ]

John Casey logged work on MNG-196:
----------------------------------

           Time Worked: 7 hours
            Time Spent: 25200
    Remaining Estimate: 0  (was: 18000)

implemented and tested.

> 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

>
> Original Estimate: 5 hours
>        Time Spent: 7 hours
>         Remaining: 0 minutes
>
> 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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ 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


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

Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-196?page=history ]
     
John Casey resolved MNG-196:
----------------------------

    Resolution: Fixed

> 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

>
> Original Estimate: 5 hours
>        Time Spent: 7 hours
>         Remaining: 0 minutes
>
> 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