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

[jira] [Commented] (MINSTALL-128) Replace usage of the deprecated ArtifactFactory

    [ https://issues.apache.org/jira/browse/MINSTALL-128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15558663#comment-15558663 ] 

Hudson commented on MINSTALL-128:
---------------------------------

SUCCESS: Integrated in Jenkins build maven-plugins #7343 (See [https://builds.apache.org/job/maven-plugins/7343/])
[MINSTALL-128] Replace usage of the deprecated ArtifactFactory

In order to fix the use of deprecated code from ArtifactFactory, the install-file Mojo now creates a new MavenProject and attaches to this project all artifacts to install. (gboue: [http://svn.apache.org/viewvc/?view=rev&rev=1763933])
* (edit) maven-install-plugin/pom.xml
* (edit) maven-install-plugin/src/it/attach-jar-checksum/verify.bsh
* (edit) maven-install-plugin/src/it/generate-pom-auto-1/verify.bsh
* (edit) maven-install-plugin/src/it/jar-sources-javadoc/verify.bsh
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum/invoker.properties
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum/pom.xml
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum/setup.bsh
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum/test.jar
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum/test.properties
* (add) maven-install-plugin/src/it/local-repo-override-with-checksum/verify.bsh
* (edit) maven-install-plugin/src/it/pom-checksum/verify.bsh
* (edit) maven-install-plugin/src/main/java/org/apache/maven/plugin/install/AbstractInstallMojo.java
* (delete) maven-install-plugin/src/main/java/org/apache/maven/plugin/install/DualDigester.java
* (edit) maven-install-plugin/src/main/java/org/apache/maven/plugin/install/InstallFileMojo.java
* (delete) maven-install-plugin/src/test/java/org/apache/maven/plugin/install/DualDigesterTest.java
* (edit) maven-install-plugin/src/test/java/org/apache/maven/plugin/install/InstallFileMojoTest.java
* (edit) maven-install-plugin/src/test/java/org/apache/maven/plugin/install/InstallMojoTest.java
* (delete) maven-install-plugin/src/test/java/org/apache/maven/plugin/install/SimpleDigester.java
* (edit) maven-install-plugin/src/test/java/org/apache/maven/plugin/install/Utils.java
* (delete) maven-install-plugin/src/test/java/org/apache/maven/plugin/install/testingharness
* (delete) maven-install-plugin/src/test/resources/META-INF/plexus/components.xml


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



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