Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 2.0.8
-
Fix Version/s: None
-
Component/s: Artifacts and Repositories, General
-
Labels:None
-
Number of attachments :
Description
The following patch allows plugins to specify Distribution Management relating to their attached artifacts.
This is useful in large Java shops where, depending on the type of artifact (Javadoc, source, assembly, etc)m you may want to deploy these artifacts to different repositories (eg public and private).
Issue Links
- is depended upon by
-
MASSEMBLY-231
Allow Assembly plugin to specify alternate DistributionManagement
-
-
MDEPLOY-61
Artifact's getRepository() value used when deploying attached artifacts
-
-
MJAVADOC-142
Allow JavaDoc plugin to specify alternate DistributionManagement
-
-
MSOURCES-20
Allow Source plugin to specify alternate DistributionManagement
-
Patch contains functional implementation of this issue.
The Artifact setRepository() and getRepository() have had their usage changed so that depending on the context of their use, they are either the ArtifactRepository that they originate from (eg, dependency) or where their destination will be when the Artifact is deployed.