Hi Guillaume,

the code duplication was based on the first steps I had done to move the general cases to the shared component...and it's good that you cleaned up the code in maven-install-plugin...

Kind regards
Karl Heinz

On 08/10/16 22:06, Guillaume Boué (JIRA) wrote:
Guillaume Boué created MINSTALL-128:
---------------------------------------

             Summary: Replace usage of the deprecated ArtifactFactory
                 Key: MINSTALL-128
                 URL: https://issues.apache.org/jira/browse/MINSTALL-128
             Project: Maven Install Plugin
          Issue Type: Improvement
          Components: install:install-file
    Affects Versions: 2.5.2
            Reporter: Guillaume Boué
            Assignee: Guillaume Boué
             Fix For: 3.0.0


The {{install-file}} goal is using the deprecated {{ArtifactFactory}}. Instead, 
this goal should create a new Maven project and attach to it all the artifacts 
to install.

As bonus side-effect, this will enable the re-use of the shared component 
{{ProjectDeployer}} and remove the current code duplication for the generation 
of the checksums (there are two {{DualDigester}}: one in the plugin's code and 
one in the shared component used by the {{install}} goal).



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to