[MDEPLOY-212] deploy-file incorrectly deploys attached artifacts
[MDEPLOY-213] deploy-file replaces main artifact of a project

The deploy-file Mojo now creates a new MavenProject and attaches to this project all artifacts to deploy. This also fixes the use of deprecated code from ArtifactFactory.

git-svn-id: https://svn.apache.org/repos/asf/maven/plugins/trunk@1755441 13f79535-47bb-0310-9956-ffa450edef68
22 files changed
tree: b8e770364c19acb988ae773864660377b0b0fa60
  1. src/
  2. pom.xml