Uploaded image for project: 'Maven Site Plugin'
  1. Maven Site Plugin
  2. MSITE-696

site:deploy try to deploy the site of a sub module even if the property maven.site.skip is set to true

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2
    • 3.5
    • multi module, site:deploy
    • None
    • Maven 3.0.5

    Description

      Hi,

      when deploying a site of a multi module project (using mvn site-deploy), the deploy goal tell me that the site cannot be deployed because it has no been generated:

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.2:deploy (default-deploy) on project um-cgum: The site does not exist, please run site:site first -> [Help 1]
      

      It's true because I set in the submodule um-cgum the property maven.site.skip to true.
      When I set the property maven.site.deploy.skip to true, the deploy goal skip the deployment, which is fine.
      Why not skipping deployment if the site generation is skipped?

      thanks

      Attachments

        Issue Links

          Activity

            People

              hboutemy Herve Boutemy
              drautureau Rautureau
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: