Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-299

create-from-project doesn't need to add <extensions>true</extensions> to template pom

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Creator
    • Labels:
      None
    • Number of attachments :
      0

      Description

      the archetype:create-from-project goal creates a pom with

        <build>
          <extensions>
            <extension>
              <groupId>org.apache.maven.archetype</groupId>
              <artifactId>archetype-packaging</artifactId>
              <version>2.0-alpha-4</version>
            </extension>
          </extensions>
          <plugins>
            <plugin>
              <artifactId>maven-archetype-plugin</artifactId>
              <version>2.0-alpha-4</version>
              <extensions>true</extensions>
            </plugin>
          </plugins>
        </build>
      

      from what I understand, the <extensions>true</extensions> part isn't needed

      maven-archetype-plugin's component.xml: http://www.jarvana.com/jarvana/view/org/apache/maven/plugins/maven-archetype-plugin/2.0-alpha-4/maven-archetype-plugin-2.0-alpha-4.jar!/META-INF/plexus/components.xml

      archetype-packaging's components.xml: http://www.jarvana.com/jarvana/view/org/apache/maven/archetype/archetype-packaging/2.0-alpha-4/archetype-packaging-2.0-alpha-4.jar!/META-INF/plexus/components.xml

        Activity

        Hide
        Herve Boutemy added a comment -

        done in r937823
        thank you

        Show
        Herve Boutemy added a comment - done in r937823 thank you

          People

          • Assignee:
            Herve Boutemy
            Reporter:
            luke w patterson
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: