Details
-
Wish
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
Patch
Description
I have to create a multi-module project from maven-archetype with free configurable modulenames. This should be possible with required properties in the archetype.
Up to now this is only possible with artifactId or rootArtifactId and you have to use it in form of prefix_rootArtifactId_postfix for the module directory.
What I want is to set a required property while setting up the new project with the archetype. Within the archetype you have to configure the module with directory _yourproperty_ and in the archetype-metadata.xml the module entry like as follows:
<module id="${yourproperty}" dir="__yourproperty__" name="${yourproperty}">
I made a patch which works for me.
Attachments
Attachments
Issue Links
- duplicates
-
ARCHETYPE-241 Filtering of directory name same as filenames
- Closed
- relates to
-
ARCHETYPE-457 Clarify documentation around module.name and module.dir
- Closed
- links to