[
https://issues.apache.org/jira/browse/MRESOURCES-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684681#comment-17684681
]
Tamas Cservenak commented on MRESOURCES-293:
--------------------------------------------
Well, the examples you pasted are about build/resources, and if you look at
mojo page, this parameter is not even documented, so you delved into "mojo
internals" by directly configuring it. In this case IMHO the warning is
correct... you are configuring within POM plugin config section an undocumented
mojo parameter.
Why do you never use build/resources?
> Resources should not be read-only
> ---------------------------------
>
> Key: MRESOURCES-293
> URL: https://issues.apache.org/jira/browse/MRESOURCES-293
> Project: Maven Resources Plugin
> Issue Type: Bug
> Affects Versions: 3.3.0
> Reporter: Delany
> Priority: Major
>
> With Maven 3.9.0 I'm getting lots of these warnings
> {noformat}
> [WARNING] Parameter 'resources' is read-only, must not be used in
> configuration{noformat}
> Clearly it shouldn't be marked read-only
> https://maven.apache.org/plugins/maven-resources-plugin/examples/resource-directory.html
--
This message was sent by Atlassian Jira
(v8.20.10#820010)