Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-337

remove goals and properties elements from archetype-catalog

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-5
    • Fix Version/s: 2.0
    • Component/s: None
    • Labels:
      None

      Activity

      Hide
      Hervé Boutemy added a comment -

      fixed in r1024184
      and I found the explanation: these are archetype model attributes used at runtime (see the "goals" property of the generate mojo), so they are useful in the archetype object model, but not in the XML representation in the catalog descriptor. I marked them xml.transient in Modello descriptor, and eveyrthing is ok now.

      note that I didn't change the model version, then the xsd descriptor at http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd will be replaced by a newer version

      Show
      Hervé Boutemy added a comment - fixed in r1024184 and I found the explanation: these are archetype model attributes used at runtime (see the "goals" property of the generate mojo), so they are useful in the archetype object model, but not in the XML representation in the catalog descriptor. I marked them xml.transient in Modello descriptor, and eveyrthing is ok now. note that I didn't change the model version, then the xsd descriptor at http://maven.apache.org/xsd/archetype-catalog-1.0.0.xsd will be replaced by a newer version

        People

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

          Dates

          • Created:
            Updated:
            Resolved:

            Development