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

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.8.1, 2.8.2
    • None
    • deploy:deploy
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: