[
https://issues.apache.org/jira/browse/ARCHETYPE-550?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Erwin Guib updated ARCHETYPE-550:
---------------------------------
Description:
When one generates an partial multimodule archetype on top of an existing
multimodule project this will not work.
The message "{color:#008000}Modules ignored in partial mode{color}" and the
archetype is not applied.
Applying an partial multimodule archetype on an existing multimodule project
should work as for "simple" projects:
* existing pom/module poms are merged
* new modules are added to the multimodule project
* new files are added to the project
* attempt to overwrite an existing file triggers an error
Attached a (git diff > fileName) patch that fixes the issue.
was:
When one generates an partial multimodule archetype on top of an existing
multimodule project this will not work.
The message "{color:#008000}Modules ignored in partial mode{color}" and the
archetype is not applied.
Applying an partial multimodule archetype on an existing multimodule project
should work as for "simple" projects:
* existing pom/module poms are merged
* new modules are added to the multimodule project
* new files are added to the project
* attempt to overwrite an existing file triggers an error
I will work on this and file a patch soon ...
> multi-module partial archetype not supported
> --------------------------------------------
>
> Key: ARCHETYPE-550
> URL: https://issues.apache.org/jira/browse/ARCHETYPE-550
> Project: Maven Archetype
> Issue Type: Bug
> Affects Versions: 3.0.1, 3.0.2
> Reporter: Erwin Guib
> Priority: Major
> Attachments: ARCHETYPE-550_maven-archetype.patch
>
>
> When one generates an partial multimodule archetype on top of an existing
> multimodule project this will not work.
> The message "{color:#008000}Modules ignored in partial mode{color}" and the
> archetype is not applied.
>
> Applying an partial multimodule archetype on an existing multimodule project
> should work as for "simple" projects:
> * existing pom/module poms are merged
> * new modules are added to the multimodule project
> * new files are added to the project
> * attempt to overwrite an existing file triggers an error
>
> Attached a (git diff > fileName) patch that fixes the issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)