Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5684

deployment happens twice

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 3.2.3
    • None
    • None
    • Windows 7, Java 8. Happened on Linux distributions (also Java 8) as well.

    Description

      Since version 3.2.3, "clean install deploy" will deploy javadoc and source jars twice, which fails on our deployment policy. Release versions can be deployed only once.

      "clean deploy" fixes the issue, "clean install deploy" triggers it. "clean install" alone is okay, too. It installs javadoc and source jars only once.

      Please see attached a minimal example project, it's created through archetype. I've added javadoc and install plugin, as well as distributionManagement to deploy into "test" directory of user's home.

      Attachments

        1. my-app.zip
          3 kB
          Tobias Stoeckmann
        2. 3.2.3-clean-install-deploy.log
          184 kB
          Tobias Stoeckmann
        3. 3.2.2-clean-install-deploy.log
          178 kB
          Tobias Stoeckmann

        Activity

          People

            Unassigned Unassigned
            stoeckmann Tobias Stoeckmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: