[forge-issues] [JBoss JIRA] (FORGE-2716) project-new should support specifying a different target location than the artifactId

Charles Moulliard (JIRA) issues at jboss.org
Mon Jan 30 09:15:00 EST 2017


     [ https://issues.jboss.org/browse/FORGE-2716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Charles Moulliard updated FORGE-2716:
-------------------------------------
    Description: 
It should be great that the command "project-new" allows to create such maven project structure

{code}
folder name : snowcamp contenaining a pom.xml where
- groupId : org.cdstore
- artifactId : project
- packaging : pom
{code}

which is equivalent to this maven command at the exception that maven uses the artifactId as project folder name.

{code}
mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo.archetypes \
    -DarchetypeArtifactId=pom-root \
    -DarchetypeVersion=RELEASE \
    -DinteractiveMode=false \
    -DgroupId=org.cdstore \
    -DartifactId=project \
    -Dversion=1.0.0-SNAPSHOT  \
{code}


  was:
It should be great that the command "project-new" allows to create such maven project structure

{code}
folder name : snowcamp contenaining a pom.xml where
- groupId : org.cdstore
- artifactId : project
- packaging : pom
{code}





> project-new should support specifying a different target location than the artifactId
> -------------------------------------------------------------------------------------
>
>                 Key: FORGE-2716
>                 URL: https://issues.jboss.org/browse/FORGE-2716
>             Project: Forge
>          Issue Type: Enhancement
>            Reporter: Charles Moulliard
>
> It should be great that the command "project-new" allows to create such maven project structure
> {code}
> folder name : snowcamp contenaining a pom.xml where
> - groupId : org.cdstore
> - artifactId : project
> - packaging : pom
> {code}
> which is equivalent to this maven command at the exception that maven uses the artifactId as project folder name.
> {code}
> mvn archetype:generate -DarchetypeGroupId=org.codehaus.mojo.archetypes \
>     -DarchetypeArtifactId=pom-root \
>     -DarchetypeVersion=RELEASE \
>     -DinteractiveMode=false \
>     -DgroupId=org.cdstore \
>     -DartifactId=project \
>     -Dversion=1.0.0-SNAPSHOT  \
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the forge-issues mailing list