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

Multimodule projects staged in wrong directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 3.3
    • None
    • site:stage(-deploy)
    • None

    Description

      All child projects are put into subdirectory that is inside subdirectory of the same name, eg:

      given tree of projects:

      • R
        • A
        • B
          • B1

      where R and B are aggregate projects as well as parents of their respective children.

      R/pom.xml:

        <distributionManagement>
           <site>
              <id>${project.artifactId}-site</id>
              <url>${project.baseUri}</url>
           </site>
        </distributionManagement>
      

      site:stage should generate:

      R/target/stagging/A/index.html
      R/target/stagging/B/index.html
      R/target/stagging/B/B1/index.html
      

      but instead produces:

      R/target/stagging/A/index.html
      R/target/stagging/B/B/index.html
      R/target/stagging/B/B1/B/B1/index.html
      

      I'll try to attach example project later.

      Attachments

        1. MSITE-745.zip
          64 kB
          Marcin Wisnicki

        Activity

          People

            Unassigned Unassigned
            mwisnicki Marcin Wisnicki
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: