Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: None
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
expression is confusing. It is used for both default-value, and to allow configuration of what system property to accept. However, now that default-value takes expressions, it is redundant for that and can be confusing, and because of its legacy in handling that, it is in the wrong order for system property handling (see MNG-2062).
I propose we deprecate expression in favour of default-value, and add system-property="someProperty" as the way to configure what command line option can be used.
Issue Links
- duplicates
-
MPLUGIN-196
rename expression parameter to property
-
- is related to
-
MPLUGIN-196
rename expression parameter to property
-
- relates to
-
MNG-2062
-D on CLI does not override <configuration>
-
-
MNG-2064
automatic plugin configuration from system properties
-
- supercedes
-
MNG-1936
pattern: for mojo parameters which have default values in the POM we need standard usage
-
I think cliProperty would be more appropriate as system property use is being eradicated in the core as it makes embedding not work.