Uploaded image for project: 'Maven Deploy Plugin'
  1. Maven Deploy Plugin
  2. MDEPLOY-78

Deploy with classifier does not deploy pom

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • Flags:
      Patch

      Description

      This is very similar to MINSTALL-41.

      Problem is that when there is an classifier set to artifact there is no primary artifact just pom file. Artifact with classifier is placed in attachedArtifacts. It means that it is necessary to deploy POM although there is no primary artifact.

      This is fixed by attached patch. There is a new method deploy i a class DeployMojo. This class is subset of same named method of Maven core DefaultArtifactDeployer class. It would be better to change core DefaultArtifactDeployer to ignore null File source argument.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bentmann Benjamin Bentmann
                Reporter:
                libor.kramolis Libor Kramolis
              • Votes:
                6 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: