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

the encoding parameter in xml declaration of POM is ignored

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.8
    • Component/s: POM::Encoding
    • Labels:
      None
    • Flags:
      Patch

      Description

      DefaultMavenProjectBuilder reads POM in system default character encoding, and the encoding parameter in xml declartion is ignored.
      to fix this problem, We should

      • fix modello-plugin-xpp3 to use the xml parser which is able to handle the encoding parameter properly
      • regenerate maven-model using fixed modello-plugin-xpp3
      • fix DefaultMavenProjectBuilder to use regenerated maven-model properly.

        Attachments

        1. MNG-2254_components-new.diff
          13 kB
          Hervé Boutemy
        2. mng-2254-PomEncoding.tgz
          2 kB
          Hervé Boutemy
        3. MNG-2254_components.diff
          12 kB
          Hervé Boutemy
        4. MNG-2254_artifact.diff
          2 kB
          Hervé Boutemy
        5. MNG-2254-2.diff
          10 kB
          Hervé Boutemy
        6. MNG-2254.diff
          3 kB
          Hervé Boutemy
        7. DefaultMavenProjectBuilder.diff
          3 kB
          Naoki Nose
        8. modello-plugin-xpp3.diff
          8 kB
          Naoki Nose

          Issue Links

            Activity

              People

              • Assignee:
                hboutemy Hervé Boutemy
                Reporter:
                nose Naoki Nose
              • Votes:
                9 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: