MNG-5387: Add ability to replace an artifact in mid-build o change MavenProject#addArtifact to use the *last* version of a given artifact passed to it instead of the first. o add comments.