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

Delany commented on MENFORCER-386:
----------------------------------

Im quite happy with the way  requireEncoding works - I get my parent project to 
check the entire codebase for encoding issues.

Ok so I think we're getting 2 issues confused here. The one is caching within 
the session. The other issue is persisting the results of the enforcer checks 
so that in the next build enforcer doesn't run them again. If my build is 
"clean install" then enforcer should check all the rules. If my build is 
"install" it should not check any rules, because nothing has changed. Is this a 
fair expectation?

> caching implementation
> ----------------------
>
>                 Key: MENFORCER-386
>                 URL: https://issues.apache.org/jira/browse/MENFORCER-386
>             Project: Maven Enforcer Plugin
>          Issue Type: Bug
>    Affects Versions: 3.0.0-M3
>            Reporter: Delany
>            Priority: Major
>             Fix For: wontfix-candidate
>
>
> The enforcer seems to cache results in a session but it does not persist them.
> The log will always say
> {noformat}
> [INFO] Adding ignore: META-INF/versions/*/module-info
> [INFO] Adding ignore: module-info{noformat}
> whether I add -D{{enforcer.ignoreCache}} or not. And in any case I don't see 
> any module-info files being written.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to