You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Tamas Cservenak (Jira)" <ji...@apache.org> on 2023/02/06 13:40:00 UTC

[jira] [Comment Edited] (MRESOURCES-293) Resources should not be read-only

    [ https://issues.apache.org/jira/browse/MRESOURCES-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17684681#comment-17684681 ] 

Tamas Cservenak edited comment on MRESOURCES-293 at 2/6/23 1:39 PM:
--------------------------------------------------------------------

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?

Btw, which mojo are you talking about?


was (Author: cstamas):
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)