Maven
  1. Maven
  2. MNG-4534

implement a preferred order for POM elements

    Details

    • Type: Wish Wish
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.0-alpha-6
    • Fix Version/s: 3.0-alpha-7
    • Component/s: POM
    • Labels:
      None

      Description

      maven.mdo defines a de-facto order for POM XML elements, that is visible in POM reference documentation or XML documents generated with MavenXpp3Writer.

      The Maven team has voted during the end of June 2008 to follow a specific POM convention to ordering POM elements to improve their readingness. The consequence of this vote is that the Maven project descriptor is no more considered as the reference for the ordering.

      With MODELLO-224 fixed in Modello 1.2, Maven's internal order can be configured in maven.mdo to match the POM convention: doing so would improve POM reference documentation (the convention is more intuitive than the actual de-facto order) and make MavenXpp3Writer implement the convention.

      Note that this is only a preferred but not enforced order: POM elements order remains unchecked.

        Activity

        Hide
        Hervé Boutemy added a comment -

        maven.mdo modified in r900146

        result will be available later, when Modello 1.2 is released and upgraded in Maven

        Show
        Hervé Boutemy added a comment - maven.mdo modified in r900146 result will be available later, when Modello 1.2 is released and upgraded in Maven
        Hide
        Hervé Boutemy added a comment -

        Modello plugin upgraded to 1.2 in r901562: the model has now a preferred order, which is followed by XML serialization and xdoc

        Show
        Hervé Boutemy added a comment - Modello plugin upgraded to 1.2 in r901562: the model has now a preferred order, which is followed by XML serialization and xdoc

          People

          • Assignee:
            Hervé Boutemy
            Reporter:
            Hervé Boutemy
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development