maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hüseyin Kartal (JIRA) <j...@apache.org>
Subject [jira] [Updated] (MRESOURCES-253) Convention over configuration of filtered resources
Date Mon, 29 Jul 2019 14:52:00 GMT

     [ 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.


> 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)

Mime
View raw message