maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Osipov (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (ARCHETYPE-385) support for multi-module projects modules which are part of profiles
Date Sun, 06 Sep 2015 20:46:25 GMT

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

Michael Osipov closed ARCHETYPE-385.
------------------------------------
    Resolution: Auto Closed

This issue has been auto closed because it has been inactive for a long period of time. If
you think this issue still applies, retest your problem with the most recent version of Maven
and the affected component, reopen and post your results.

> support for multi-module projects modules which are part of profiles
> --------------------------------------------------------------------
>
>                 Key: ARCHETYPE-385
>                 URL: https://issues.apache.org/jira/browse/ARCHETYPE-385
>             Project: Maven Archetype
>          Issue Type: New Feature
>          Components: Creator
>    Affects Versions: 2.1
>         Environment: Windows
>            Reporter: tanmoy banerjee
>
> My project structure is shown as below:
> {code:xml}
> <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>
> {code}
> 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
> {code: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>
> {code}
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message