You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (Jira)" <ji...@apache.org> on 2020/07/20 09:37:00 UTC
[jira] [Closed] (MRESOURCES-253) Convention over configuration of
filtered resources
[ https://issues.apache.org/jira/browse/MRESOURCES-253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MRESOURCES-253.
--------------------------------------
Resolution: Won't Fix
This needs to be fixed in maven core. See linked issue.
> 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
(v8.3.4#803005)