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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 3.5.0.Final
    • None
    • None
    • 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  \
      

      Attachments

        Activity

          People

            rhn-support-ggastald George Gastaldi
            cmoullia Charles Moulliard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: