[ 
https://jira.codehaus.org/browse/ARCHETYPE-363?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov closed ARCHETYPE-363.
------------------------------------

    Resolution: Won't Fix

Please refer to 
https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
 if you're wondering why this issue was closed out.

> When creating the archetype project pom, distribution management only gets 
> added if there is a parent project
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: ARCHETYPE-363
>                 URL: https://jira.codehaus.org/browse/ARCHETYPE-363
>             Project: Maven Archetype
>          Issue Type: Bug
>          Components: Archetypes
>    Affects Versions: 2.0
>            Reporter: Jordan Zimmerman
>
> 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());



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to