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

George Gastaldi (JIRA) issues at jboss.org
Tue Jan 31 11:29:01 EST 2017


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

George Gastaldi closed FORGE-2716.
----------------------------------
    Fix Version/s: 3.5.0.Final
         Assignee: George Gastaldi
       Resolution: Done


> 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
>            Assignee: George Gastaldi
>             Fix For: 3.5.0.Final
>
>
> 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