maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guillaume Boué (JIRA) <j...@apache.org>
Subject [jira] [Closed] (MSHARED-598) Simplify ProjectInstaller by not requiring an ArtifactRepository
Date Sun, 30 Oct 2016 20:05:59 GMT

     [ https://issues.apache.org/jira/browse/MSHARED-598?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Guillaume Boué closed MSHARED-598.
----------------------------------
    Resolution: Fixed

> Simplify ProjectInstaller by not requiring an ArtifactRepository
> ----------------------------------------------------------------
>
>                 Key: MSHARED-598
>                 URL: https://issues.apache.org/jira/browse/MSHARED-598
>             Project: Maven Shared Components
>          Issue Type: Improvement
>          Components: maven-artifact-transfer
>            Reporter: Guillaume Boué
>            Assignee: Guillaume Boué
>             Fix For: maven-artifact-transfer-0.9.0
>
>
> With the changes made in [MSHARED-596|https://issues.apache.org/jira/browse/MSHARED-596],
{{ProjectInstaller}} does not need an {{ArtifactRepository}} anymore:
> - To set a different local repository, it is possible to use the {{RepositoryManager}}
and call the {{setLocalRepositoryBasedir}} method on the building request which is passed
as parameter.
> - It was only used to fetch local metadata file, but this is now possible directly with
{{RepositoryManager}}.
> As such, the method
> {code:java}
> void install( ProjectBuildingRequest projectBuildingRequest, ProjectInstallerRequest
projectInstallerRequest, ArtifactRepository artifactRepository )
> {code}
> should be removed in favor of
> {code:java}
> void install( ProjectBuildingRequest projectBuildingRequest, ProjectInstallerRequest
projectInstallerRequest )
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message