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
    • Priority: Minor 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

        Activity

        luke w patterson created issue -
        Hervé Boutemy made changes -
        Field Original Value New Value
        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
        the archetype:create-from-project goal creates a pom with
        {code:xml}
          <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>
        {code}
        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
        Hide
        Hervé Boutemy added a comment -

        done in r937823
        thank you

        Show
        Hervé Boutemy added a comment - done in r937823 thank you
        Hervé Boutemy made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Assignee Herve Boutemy [ hboutemy ]
        Fix Version/s 2.0-alpha-6 [ 14604 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:05:55 UTC 2015 [ 1428224755734 ]
        Mark Thomas made changes -
        Workflow jira [ 12716746 ] Default workflow, editable Closed status [ 12748284 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:17:37 UTC 2015 [ 1428272257260 ]
        Mark Thomas made changes -
        Workflow jira [ 12953913 ] Default workflow, editable Closed status [ 12991047 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        3d 19h 46m 1 Hervé Boutemy 25/Apr/10 13:02

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development