[jira] [Closed] (MNG-2478) add "resources-filtered" filtered resource directories to super POM
[ https://issues.apache.org/jira/browse/MNG-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Osipov closed MNG-2478. --- Resolution: Fixed Fixed with [be16fc66b9783ca8ae6ca441fd5ef8044d39e4b1|https://gitbox.apache.org/repos/asf?p=maven.git=commit=be16fc66b9783ca8ae6ca441fd5ef8044d39e4b1] and ITs with [d6e2e1abcdb47002aef4ac2ac91e86ea29b56923|https://gitbox.apache.org/repos/asf?p=maven.git=commit=d6e2e1abcdb47002aef4ac2ac91e86ea29b56923]. > add "resources-filtered" filtered resource directories to super POM > --- > > Key: MNG-2478 > URL: https://issues.apache.org/jira/browse/MNG-2478 > Project: Maven > Issue Type: New Feature > Components: POM >Affects Versions: 2.0.4 > Environment: any >Reporter: Jörg Hohwiller >Assignee: Michael Osipov >Priority: Major > Fix For: 3.7.0 > > > The super POM contains default folders for resources that are NOT filtered > (src/main/resources and src/test/resources). If one (additionally) needs a > filtered resources folder, it needs to override the default and therefore has > to add all default folders if he does NOT want to "loose" the defaults. > To make this easier my suggestion is to add filtered resource folders to the > super POM. This should also fit to the philosophy of maven that aims to have > defaults and only declare as little custom configuration as needed. > My personal favorite for the foldernames would be "templates" but to make > things more obvious to the user maybe "resources-filtered" would be better. > Actually I do not care to much about the name... > So the resources in the super POM should look like this: > {code:xml} > > src/main/resources > > > > src/main/resources-filtered > true > > > > > > src/test/resources > > > > src/test/resources-filtered > true > > > {code} > Update: The folder name has been changed to "resources-filtered". -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (MNG-2478) add "resources-filtered" filtered resource directories to super POM
[ https://issues.apache.org/jira/browse/MNG-2478?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Christian Schulte closed MNG-2478. -- Resolution: Fixed Assignee: Christian Schulte Fix Version/s: 3.4.0 Part of 3.4. See [this mail|http://mail-archives.apache.org/mod_mbox/maven-dev/201610.mbox/%3CCA%2BnPnMwwC7gpBe3u%2BsK8dPs5St3trAsgMXwUWvL7ksrj4tmqSQ%40mail.gmail.com%3E]. > add "resources-filtered" filtered resource directories to super POM > --- > > Key: MNG-2478 > URL: https://issues.apache.org/jira/browse/MNG-2478 > Project: Maven > Issue Type: New Feature > Components: POM >Affects Versions: 2.0.4 > Environment: any >Reporter: Jörg Hohwiller >Assignee: Christian Schulte > Fix For: 3.4.0 > > > The super POM contains default folders for resources that are NOT filtered > (src/main/resources and src/test/resources). If one (additionally) needs a > filtered resources folder, it needs to override the default and therefore has > to add all default folders if he does NOT want to "loose" the defaults. > To make this easier my suggestion is to add filtered resource folders to the > super POM. This should also fit to the philosophy of maven that aims to have > defaults and only declare as little custom configuration as needed. > My personal favorite for the foldernames would be "templates" but to make > things more obvious to the user maybe "resources-filtered" would be better. > Actually I do not care to much about the name... > So the resources in the super POM should look like this: > {code:xml} > > src/main/resources > > > > src/main/resources-filtered > true > > > > > > src/test/resources > > > > src/test/resources-filtered > true > > > {code} > Update: The folder name has been changed to "resources-filtered". -- This message was sent by Atlassian JIRA (v6.3.4#6332)