Details
-
Type:
Improvement
-
Status:
Reopened
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.0-alpha-3
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Plugins and Lifecycle
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
There are uses cases with pom.xml requiring an environment-specific property to be defined. If those property are not provided by the user in a settings.xm, profiles.xml or a command-line system property then m2 should fail the build with a nice error explaiing the reason.
This is the desired behaviour, however there are too many crappy poms in the repo and an issue with the timing of executing the interpolation (I don't think the profiles are all resolved, so you may rely on a property that is only needed for a profile which is not acceptable)