You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "oehme (via GitHub)" <gi...@apache.org> on 2023/03/01 18:27:22 UTC
[GitHub] [maven-mvnd] oehme commented on a diff in pull request #797: Add property to disable model caching
oehme commented on code in PR #797:
URL: https://github.com/apache/maven-mvnd/pull/797#discussion_r1122150631
##########
daemon/src/main/java/org/apache/maven/project/SnapshotModelCacheFactory.java:
##########
@@ -45,6 +45,9 @@ public SnapshotModelCacheFactory(DefaultModelCacheFactory factory) {
@Override
public ModelCache createCache(RepositorySystemSession session) {
- return new SnapshotModelCache(globalCache, factory.createCache(session));
+ boolean enableModelCache = Boolean.parseBoolean(System.getProperty("mvnd.modelCache", "true"));
Review Comment:
Sure, I'll do that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@maven.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org