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

When creating the archetype project pom, distribution management only gets added if there is a parent project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0
    • None
    • Archetypes
    • None

    Description

      FilesetArchetypeCreator.createArchetypeProjectPom() only adds distribution management to the new model if there is a parent project. If there isn't a parent, it should use the project's distribution management.

      A fix is this:

      Add this line after creating the new model:

      model.setDistributionManagement(project.getDistributionManagement());

      Attachments

        Activity

          People

            Unassigned Unassigned
            randgalt Jordan Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: