Maven Archetype
  1. Maven Archetype
  2. ARCHETYPE-323

FilesetArchetypeCreator.getGeneratedSourcesDirectory() returns hardcoded directory

    Details

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

      Description

      The method FilesetArchetypeCreator.getGeneratedSourcesDirectory() always returns the hardcoded value "target" + File.separator + "generated-sources" + File.separator + "archetype". Thus setting a different value for outputDirectory or {{$

      {project.build.directory}

      }} doesn't have an effect at all, even though the documentation says so.

      This should respect the properties set by the user. I do have a scenario in which I want to create an archetype from a project which shall be deployed in an automatic cycle, and in this case it is not useful to generate the archetype to target/...

        Activity

        Michael Bruns created issue -
        Hervé Boutemy made changes -
        Field Original Value New Value
        Fix Version/s 2.0-alpha-6 [ 14604 ]
        Hervé Boutemy made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Herve Boutemy [ hboutemy ]
        Resolution Fixed [ 1 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 09:05:55 UTC 2015 [ 1428224755734 ]
        Mark Thomas made changes -
        Workflow jira [ 12716761 ] Default workflow, editable Closed status [ 12748128 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 22:17:37 UTC 2015 [ 1428272257260 ]
        Mark Thomas made changes -
        Workflow jira [ 12954198 ] Default workflow, editable Closed status [ 12991493 ]

          People

          • Assignee:
            Hervé Boutemy
            Reporter:
            Michael Bruns
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development