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

With DeployAtEnd activated and a project using customized lifecycle plugin, deploy is skipped

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.8.1, 2.8.2
    • Fix Version/s: None
    • Component/s: deploy:deploy
    • Labels:
      None
    • Environment:
      Maven 3.0.5

      Description

      Hi,
      When deployAtEnd is enabled, the deployment of all modules is skipped. It seems that the "readyProjectsCounter" is not accurate for one module. So the last module is not detected.

      I've attached a simple sample project with 4 modules :

      • pom : set version and plugin management
      • jar and ear : empty project (only to illustrate counter reset)
      • war : module with readyProjectsCounter

      I've looked at 2.9-SNAP version code , and displayed some info from attached sample :
      pom : readyProjectsCounter: 1 - reactorProjects: 4
      jar: readyProjectsCounter: 2 - reactorProjects: 4
      war: readyProjectsCounter: 1 - reactorProjects: 4
      ear: readyProjectsCounter: 3 - reactorProjects: 4

      Regards,
      Olivier

        Attachments

        1. deployAtEndFailure.zip
          11 kB
          bob
        2. deploy-end-fail.zip
          225 kB
          olivier o

          Issue Links

            Activity

              People

              • Assignee:
                rfscholte Robert Scholte
                Reporter:
                olivier o. olivier o
              • Votes:
                6 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: