Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0.0
-
None
Description
I'm trying to create a configuration where the extension is disabled by default and can be enabled by some key users as a opt-in.
My first attempt:
- in the XML, set `cache.configuration.enabled` to `false`
-> This disables it by default - On the CLI, set `-Dmaven.build.cache.enabled=true`
-> This was intended to enable it "opt in" - but failed, see below.
The problem:
The code in
will use the "disable" state in the XML.
Suggested change: `maven.build.cache.enabled` should override the setting `cache.configuration.enabled` in the XML.
Attachments
Issue Links
- links to