-
Story
-
Resolution: Fixed
-
Minor
-
None
Need Enforcer rules to be found or written, and then configured, so that:
- When produce-incrementals, no snapshot dependencies (or plugins, etc.) are permitted.
- When jenkins-release, no incremental dependencies are permitted in compile / provided / runtime scope.
- Arguably there is no harm in test-scope dependencies or plugins being of an incremental version—consume-incrementals would still be active in a source checkout from scm/tag, and these versions are irrelevant if the POM is read from a repository.
- Perhaps also block the parent POM from being of an incremental version, since it could affect downstream components which do not also consume-incrementals—at least unless upstream maybe-produce-incrementals, in which case flatten-maven-plugin would erase this anyway.