Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-337

remove goals and properties elements from archetype-catalog

    Details

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

      Activity

      Hide
      Herve 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
      Herve 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:
          Herve Boutemy
          Reporter:
          Herve Boutemy
        • Votes:
          0 Vote for this issue
          Watchers:
          0 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved: