Re: Deprecation of ArtifactFactory and its use in new code

2016-07-23 Thread Guillaume Boué
Hi Robert,   Thanks for the info, I wasn't aware of this wiki page.   I pushed a fix of MDEPLOY-212 and MDEPLOY-213 using this idea in a forked repository of maven-plugins here https://github.com/Tunaki/maven-plugins/. All the IT still pass (expect from MDEPLOY-181 that is expected to fail)

Re: Deprecation of ArtifactFactory and its use in new code

2016-07-22 Thread Robert Scholte
Hi Guillaume, we have a wiki[1] describing most of the steps that need to be taken. Especially the ArtifactFactory is a tricky one. For deploying a MavenProject (deploy:deploy) it should be straight forward. For deploying files (deploy:deploy-file) it is probably better to translate it all

Deprecation of ArtifactFactory and its use in new code

2016-07-21 Thread Guillaume Boué
Hi,   While working on a fix for https://issues.apache.org/jira/browse/MDEPLOY-212, I found out that the plugin is using the interface ArtifactFactory (Maven Core), that was deprecated as of Maven 3. The fix would need to utilize this class in order to create artifacts but this would add