Maven
  1. Maven
  2. MNG-47

Reorganize maven-artifact code splitting it up between maven-project and wagon proper

    Details

    • Type: Task Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-alpha-1
    • Component/s: None
    • Labels:
      None

      Description

      What maven 2.x needs specifically in terms of artifact handling is relatively small so the small parts of maven-artifact that are pertinent to maven should be moved into maven-project. But there are some notions that are currently in maven-artifact that are of general use in Wagon.

      For example we have an artifact downloader and artifact resolver which are tools that would be relevent to projects like Plexus where we want to pull down the dependencices for a particular component. Plexus could either use things like the artifact downloader and resolver directly or be passed a live instance in order to integrate with client code. So Maven would already have configured a downloading mechanism based on Wagon and this we would like to pass to Plexus for use because we want the same policies being used when downloading dependencies for a project as downloading the dependencies of a component.

      So I think what we would end up is having something like the artifact resolver which uses a downloader and executes various policies as desired: in our case we have special behavior for snapshots and JAR overrides. We should be able to easily decorate the standard behaviour of the download mechanism for Maven's purposes and to make adding addition behaviour easier for users.

        Activity

        jason lane created issue -
        Hide
        Jason van Zyl added a comment -

        Another reason for doing is the control from the client code how things like offline mode might work or any other notions that might be created in client code.

        Show
        Jason van Zyl added a comment - Another reason for doing is the control from the client code how things like offline mode might work or any other notions that might be created in client code.
        Hide
        Jason van Zyl added a comment -

        A new maven-artifact module has been imported. This layer is free from maven-core proper. It depends on wagon and plexus so it can be made generally reusable.

        Show
        Jason van Zyl added a comment - A new maven-artifact module has been imported. This layer is free from maven-core proper. It depends on wagon and plexus so it can be made generally reusable.
        Jason van Zyl made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Closed [ 6 ]
        Vincent Massol made changes -
        Workflow jira [ 26697 ] Maven [ 36963 ]
        Vincent Massol made changes -
        Workflow Maven [ 36963 ] Maven New [ 47792 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12711430 ] Default workflow, editable Closed status [ 12751297 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12948717 ] Default workflow, editable Closed status [ 12988001 ]
        Mark Thomas made changes -
        Reporter jason lane [ jason ] Jason van Zyl [ jvanzyl ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        18d 18h 41m 1 Jason van Zyl 10/Aug/04 09:58

          People

          • Assignee:
            Unassigned
            Reporter:
            Jason van Zyl
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development