Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-2716

project-new should support specifying a different target location than the artifactId

    Details

    • Type: Enhancement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.5.0.Final
    • Component/s: None
    • Labels:
      None

      Description

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

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

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

      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  \
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gastaldi George Gastaldi
                Reporter:
                cmoulliard Charles Moulliard
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: