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] [Created] (MSHARED-598) Simplify ProjectInstaller by not requiring an ArtifactRepository
Date Sun, 30 Oct 2016 16:32:58 GMT
Guillaume Boué created MSHARED-598:
--------------------------------------

             Summary: 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