Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-229

Do not use hardcoded path to the build directory in create-from-project goal

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha-4
    • Fix Version/s: 2.0-alpha-5
    • Component/s: Creator
    • Labels:
      None

      Description

      When using mvn archetype:create-from-project, the archetype is generated in target/generated-sources/archetype irrespective of what the project's specified build directory is.

      Fix should be trivial: instead of using "$

      {basedir}

      /target" as the expression for outputDirectory in org.apache.maven.archetype.mojos.CreateArchetypeFromProjectMojo (line 142 on the current version in svn), use "$

      {project.build.directory}

      ".

        Activity

        Florent Robineau created issue -
        Hide
        Raphaël Luta added a comment -

        Appled since revision 764216

        Show
        Raphaël Luta added a comment - Appled since revision 764216
        Raphaël Luta made changes -
        Field Original Value New Value
        Fix Version/s 2.0-alpha-5 [ 14254 ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:05:55 UTC 2015 [ 1428224755734 ]
        Mark Thomas made changes -
        Workflow jira [ 12716688 ] Default workflow, editable Closed status [ 12748155 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:17:37 UTC 2015 [ 1428272257260 ]
        Mark Thomas made changes -
        Workflow jira [ 12954131 ] Default workflow, editable Closed status [ 12991378 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        43d 20h 5m 1 Raphaël Luta 11/Apr/09 18:37

          People

          • Assignee:
            Unassigned
            Reporter:
            Florent Robineau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development