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

Module name with double quotes breaks site descriptor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • None
    • site descriptor
    • None

    Description

      Plugin doesn't work when there are double quotes in the module name.

      E.g. the name of the module is specified as follows:

      <name>"flushpongle" Framework</name>

      or in this way:

      <name>"flushpongle" Framework</name>

      If you try to execute 'mvn site' on a module that have double quotes in its name, you recieve the following error:

      [ERROR] BUILD ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO] Error parsing site descriptor

      Embedded error: expected = after attribute name (position: START_DOCUMENT seen ...mitations\r\nunder the License.\r\n-->\r\n\r\n<project name=""flushpongle"... @21:29)

      So, the name of the module is taken 'as is' for the value of name attribute. Inner double quotes makes output invalid.

      Attachments

        Issue Links

          Activity

            People

              ltheussl Lukas Theussl
              vtsukur Vladimir Tsukur
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: