You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Guillaume Boué (JIRA)" <ji...@apache.org> on 2016/10/30 20:05:59 UTC

[jira] [Closed] (MSHARED-598) Simplify ProjectInstaller by not requiring an ArtifactRepository

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