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

Web site cannot be generated with duplicate file names in different directories

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-beta-1
    • 2.0-beta-1
    • None
    • None

    Description

      I have a tool I am using to generate UML diagrams for the project I am working on. This tool is capable of generating a web site with all of the diagrams and text, organized in a set of directories based on the way the model is organized. In the top directory that the tool generates is a file "index.html" which provides the starting point to browse the diagrams.

      I am trying to incorporate this documentation into the Maven-generated site. To do this, I am copying the entire tree into my project tree at src/site/resources/uml and put a link in the site.xml to point to "./uml".

      When I try to build the site, the site plugin complains that src/site/resource/uml/index.html is a duplicate of src/site/xdoc/index/xml. If I rename the index.html in the uml tree, the site builds fine and the uml tree appears in target/site/uml.

      Why does the plugin complain that the file is a duplicate since it will not be placed in the same directory?

      Attachments

        Activity

          People

            brett Brett Porter
            allisonb Bob Allison
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: