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

Deploy with classifier does not deploy pom

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.5
    • None
    • None
    • 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

        1. maven-deploy-plugin-2.3.patch
          4 kB
          Libor Kramolis

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: