Maven Deploy Plugin
  1. Maven Deploy Plugin
  2. MDEPLOY-78

Deploy with classifier does not deploy pom

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      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.

        Issue Links

          Activity

          Hide
          Benjamin Bentmann added a comment -

          Fixed in r754768.

          Show
          Benjamin Bentmann added a comment - Fixed in r754768 .
          Hide
          Guillaume Jeudy added a comment -

          Can anyone tell when 2.5 is due out ?

          Show
          Guillaume Jeudy added a comment - Can anyone tell when 2.5 is due out ?

            People

            • Assignee:
              Benjamin Bentmann
              Reporter:
              Libor Kramolis
            • Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: