Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.8.2
-
None
-
Important
Description
When using the deploy-file goal in a project (not from the command-line), the specified file will replace the artifact of the current project, which may later lead to project artifact corruption, especially in a multi-module build. Instead the deploy-file goal should not touch the project artifact, or it should be conditionally set.
The offending line should be removed from DeployFileMojo
//project.setArtifact( artifact );