You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Seager (JIRA)" <ji...@codehaus.org> on 2011/09/06 09:44:32 UTC
[jira] Created: (ARCHETYPE-381) maven-archetype-quickstart
creating incorrect tree structure
maven-archetype-quickstart creating incorrect tree structure
--------------------------------------------------------------------
Key: ARCHETYPE-381
URL: https://jira.codehaus.org/browse/ARCHETYPE-381
Project: Maven Archetype
Issue Type: Bug
Components: Archetypes
Reporter: Michael Seager
Priority: Minor
Newbie to Maven here, so apologies if this is a simple one.
I'm trying to create a [standard directory layout|http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html] using archetypes, however selecting archetype 15 (quickstart) as suggested [here|http://maven.apache.org/archetype/maven-archetype-plugin/usage.html] creates a tree structure with src/main, src/site instead of src/test. Any idea what I'm doing wrong here?
Maven version is 3.0.3, no idea how to tell what version of the archetype plugin I'm using.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Closed: (ARCHETYPE-381) maven-archetype-quickstart
creating incorrect tree structure
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/ARCHETYPE-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Herve Boutemy closed ARCHETYPE-381.
-----------------------------------
Resolution: Not A Bug
Assignee: Herve Boutemy
I suppose you didn't pick maven-quickstart-archetype
you shouldn't choose number "15" just because it is on the doc: actual value varies depending on what is available in the repositories
just use the default value proposed
and check the output: it says what is the archetype used:
{noformat}[INFO] ----------------------------------------------------------------------------
[INFO] Using following parameters for creating project from Old (1.x) Archetype: maven-archetype-quickstart:1.1
[INFO] ----------------------------------------------------------------------------{noformat}
> maven-archetype-quickstart creating incorrect tree structure
> --------------------------------------------------------------------
>
> Key: ARCHETYPE-381
> URL: https://jira.codehaus.org/browse/ARCHETYPE-381
> Project: Maven Archetype
> Issue Type: Bug
> Components: Archetypes
> Reporter: Michael Seager
> Assignee: Herve Boutemy
> Priority: Minor
>
> Newbie to Maven here, so apologies if this is a simple one.
> I'm trying to create a [standard directory layout|http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html] using archetypes, however selecting archetype 15 (quickstart) as suggested [here|http://maven.apache.org/archetype/maven-archetype-plugin/usage.html] creates a tree structure with src/main, src/site instead of src/test. Any idea what I'm doing wrong here?
> Maven version is 3.0.3, no idea how to tell what version of the archetype plugin I'm using.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (ARCHETYPE-381)
maven-archetype-quickstart creating incorrect tree structure
Posted by "Herve Boutemy (JIRA)" <ji...@codehaus.org>.
[ https://jira.codehaus.org/browse/ARCHETYPE-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=277892#comment-277892 ]
Herve Boutemy commented on ARCHETYPE-381:
-----------------------------------------
documentation updated in [r1165805|http://svn.apache.org/viewvc?rev=1165805&view=rev] to try to explain that the value "15" should not be blindly selected
> maven-archetype-quickstart creating incorrect tree structure
> --------------------------------------------------------------------
>
> Key: ARCHETYPE-381
> URL: https://jira.codehaus.org/browse/ARCHETYPE-381
> Project: Maven Archetype
> Issue Type: Bug
> Components: Archetypes
> Reporter: Michael Seager
> Assignee: Herve Boutemy
> Priority: Minor
>
> Newbie to Maven here, so apologies if this is a simple one.
> I'm trying to create a [standard directory layout|http://maven.apache.org/guides/introduction/introduction-to-the-standard-directory-layout.html] using archetypes, however selecting archetype 15 (quickstart) as suggested [here|http://maven.apache.org/archetype/maven-archetype-plugin/usage.html] creates a tree structure with src/main, src/site instead of src/test. Any idea what I'm doing wrong here?
> Maven version is 3.0.3, no idea how to tell what version of the archetype plugin I'm using.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira