Uploaded image for project: 'Maven Archetype'
  1. Maven Archetype
  2. ARCHETYPE-323

FilesetArchetypeCreator.getGeneratedSourcesDirectory() returns hardcoded directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0-alpha-5
    • 2.0
    • Creator
    • 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/...

      Attachments

        Activity

          People

            hboutemy Herve Boutemy
            miggel Michael Bruns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: