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

site-deployment for POM projects does not create project directories in site repository

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Information Provided
    • 3.12.0, 4.0.0-M14
    • None
    • site:deploy
    • None
    • Nexus, since at least Maven 3.6.3 (not tested with 3.9.7 or 4.0.0-beta)

    Description

      I noticed the following issue while updating the plugins in our teams META-POM and could backtrack it at least until 3.12 but might be an even older issue. Havn't checked 4.0.0-M15 but from the releases notes I doubt it is fixed.

      When you do "site-deploy" for a single module or multi module project the site files (.html, css-folders, etc.) are stored in the site-repository (we have current Nexus version) within a subfolder with the name of the project, e.g

      / (root of site-repository)
        /- project-A
         /css
         report.html
        /- project-B
         /css
         report.html
        /project-C
      

      If you do the same for a "POM" project (e.g. a META-POM or BOM) the site files are all stored at root level (instead of creating a project folder) and ofc overwriting the ones from other POM-projects:

      / (root of site-repository)
       /css
       /project-A
       /project-B
       /project-C
      report.html
      

      Attachments

        1. pom.xml
          26 kB
          Matthias Bünger
        2. webdav.txt
          3 kB
          Matthias Bünger

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              bukama Matthias Bünger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: