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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Component/s: Creator
    • Labels:
      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

            • Assignee:
              hboutemy Hervé Boutemy
              Reporter:
              lukewpatterson luke w patterson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: