Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-311

Basedir property in archetype:generate cannot be overriden

    Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows XP, maven 2.2.0
    • Patch Submitted:
      Yes
    • Number of attachments :
      1

      Description

      Following is the output when trying to execute archetype:generate using alternative directory for basedir

      D:\tmp>mvn -o -npr archetype:generate -Dbasedir=d:/foo
      ....
      [INFO] ----------------------------------------------------------------------------
      [INFO] Using following parameters for creating OldArchetype: maven-archetype-quickstart:RELEASE
      [INFO] ----------------------------------------------------------------------------
      [INFO] Parameter: groupId, Value: test
      [INFO] Parameter: packageName, Value: test
      [INFO] Parameter: package, Value: test
      [INFO] Parameter: artifactId, Value: test
      [INFO] Parameter: basedir, Value: D:\tmp
      [INFO] Parameter: version, Value: 1.0-SNAPSHOT
      [INFO] ********************* End of debug info from resources from generated POM ***********************
      [INFO] OldArchetype created in dir: D:\tmp\test
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESSFUL
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8 seconds
      [INFO] Finished at: Fri Apr 16 10:53:06 EEST 2010
      [INFO] Final Memory: 10M/19M
      [INFO] ------------------------------------------------------------------------

      1. patch.txt
        2 kB
        Samuli Saarinen

        Activity

        Samuli Saarinen made changes -
        Field Original Value New Value
        Attachment patch.txt [ 48521 ]
        Herve Boutemy made changes -
        Project Maven Archetype [ 11095 ] Maven Archetype Bundles [ 12090 ]
        Key ARCHETYPE-297 MARCHETYPES-4
        Affects Version/s 2.0-alpha-4 [ 14253 ]
        Component/s Plugin [ 11867 ]
        Herve Boutemy made changes -
        Project Maven Archetype Bundles [ 12090 ] Maven Archetype [ 11095 ]
        Key MARCHETYPES-4 ARCHETYPE-311

          People

          • Assignee:
            Unassigned
            Reporter:
            Samuli Saarinen
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: