Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-299

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0
    • Creator
    • None

    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

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            lukewpatterson luke w patterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: