Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1
-
None
-
None
-
Windows
Description
My project structure is shown as below:
<project> <modules> <module>sample-domain</module> <module>sample-data</module> </modules> <profiles> <profile><id>it</id> <modules> <module>sample-it</modules> </modules> </profile> <profiles> </project>
the idea is to have the module sample-it only when it is built with When this is the scenario, and i run the command create-from-project, the archetype-metadata.xml does not include the sample-it module, nor it filters the files in that module.
archetype-metadata.xml
<archetype-descriptor> <modules> <module id="${rootArtifactId}-domain" dir="__rootArtifactId__-domain" name="${rootArtifactId}-domain"></module> <module id="${rootArtifactId}-data" dir="__rootArtifactId__-data" name="${rootArtifactId}-data"></module> </modules> </archetype-descriptor>
The sample-it module is not inluded in this, and it satys in the pom as is... and none of the files in the module is filtered. Is this my configuration issue, and what is the configuration to do this. Otherwise, it will be a great feature to have this feature.