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

Hüseyin Kartal updated MRESOURCES-253:
--------------------------------------
    Description: 
We would appreciate if there would be a convention for a resource folder that 
is filtered by convention. Like "resources-filtered" for main and test 
resources. Just omit bloated configurations.

{{<resources>}}
 {{  <resource>}}
 {{    <directory>${project.basedir}/src/main/resources</directory>}}
 {{  </resource>}}
 {{  <resource>}}
 {{    <directory>${project.basedir}/src/main/resources-filtered</directory>}}
 {{    <filtering>true</filtering>}}
 {{  </resource>}}
 {{</resources>}}
 {{<testResources>}}
 {{  <testResource>}}
 {{    <directory>${project.basedir}/src/test/resources</directory>}}
 {{  </testResource>}}
 {{  <testResource>}}
 {{    <directory>${project.basedir}/src/test/resources-filtered</directory>}}
 {{    <filtering>true</filtering>}}
 {{  </testResource>}}
 {{</testResources>}}

  was:
We would appreciate if there would be a convention for a resource folder that 
is filtered by convention. Like "resources-filtered" for main and test 
resources. Just omit bloated configurations.

{{}}{{<resources>}}
{{  <resource>}}
{{    <directory>${project.basedir}/src/main/resources</directory>}}
{{  </resource>}}
{{  <resource>}}
{{    <directory>${project.basedir}/src/main/resources-filtered</directory>}}
{{    <filtering>true</filtering>}}
{{  </resource>}}
{{</resources>}}
{{<testResources>}}
{{  <testResource>}}
{{    <directory>${project.basedir}/src/test/resources</directory>}}
{{  </testResource>}}
{{  <testResource>}}
{{    <directory>${project.basedir}/src/test/resources-filtered</directory>}}
{{    <filtering>true</filtering>}}
{{  </testResource>}}
{{</testResources>}}


> Convention over configuration of filtered resources
> ---------------------------------------------------
>
>                 Key: MRESOURCES-253
>                 URL: https://issues.apache.org/jira/browse/MRESOURCES-253
>             Project: Maven Resources Plugin
>          Issue Type: Improvement
>          Components: filtering
>    Affects Versions: 3.1.0
>            Reporter: Hüseyin Kartal
>            Priority: Major
>
> We would appreciate if there would be a convention for a resource folder that 
> is filtered by convention. Like "resources-filtered" for main and test 
> resources. Just omit bloated configurations.
> {{<resources>}}
>  {{  <resource>}}
>  {{    <directory>${project.basedir}/src/main/resources</directory>}}
>  {{  </resource>}}
>  {{  <resource>}}
>  {{    <directory>${project.basedir}/src/main/resources-filtered</directory>}}
>  {{    <filtering>true</filtering>}}
>  {{  </resource>}}
>  {{</resources>}}
>  {{<testResources>}}
>  {{  <testResource>}}
>  {{    <directory>${project.basedir}/src/test/resources</directory>}}
>  {{  </testResource>}}
>  {{  <testResource>}}
>  {{    <directory>${project.basedir}/src/test/resources-filtered</directory>}}
>  {{    <filtering>true</filtering>}}
>  {{  </testResource>}}
>  {{</testResources>}}



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to