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

links to modules where not working if a modules dir is used

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-beta-4, 2.0-beta-5, 2.0-beta-6
    • 2.1
    • multi module
    • None

    Description

      I've to place the modules into a separate directory:

      root/
      ..pom.xml
      ..modules/
      ....module1
      ....module2

      this is supported by maven through

      <modules>
      <module>modules/module1</module>
      <module>modules/module2</module>
      </modules>

      in pom.

      but the site generation seems to be broken:

      if mvn site-deploy is used the links to the modules contain modules/module1/index.html which is ok but unfortunately the generated site structure will be generated as follows:

      root/
      ..module1
      ..module2

      The result is that the links do not work.

      If I run mvn site-stage everything looks ok. The links doesn't contain modules dir anymore and eveything is working.

      Attachments

        1. 169-maven-site-plugin-for-2.0-beta-7.patch
          1 kB
          alexandr kiryanov
        2. MNG-MSITE-169-maven-site-plugin.patch
          1 kB
          Jason Reilly
        3. MSITE-169.zip
          2 kB
          dennislundberg

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              mbroekelmann Mathias Broekelmann
              Votes:
              9 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: