Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.0
-
None
-
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());