You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Herve Boutemy (JIRA)" <ji...@codehaus.org> on 2010/04/25 10:35:12 UTC

[jira] Updated: (ARCHETYPE-299) create-from-project doesn't need to add true to template pom

     [ http://jira.codehaus.org/browse/ARCHETYPE-299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Herve Boutemy updated ARCHETYPE-299:
------------------------------------

    Description: 
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


  was:
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



> create-from-project doesn't need to add <extensions>true</extensions> to template pom
> -------------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-299
>                 URL: http://jira.codehaus.org/browse/ARCHETYPE-299
>             Project: Maven Archetype
>          Issue Type: Improvement
>          Components: Creator
>            Reporter: luke w patterson
>            Priority: Minor
>
> 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

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira