Block MRP from picking up incremental deps (was: Enforcer rules for incremental/snapshot deps)

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Jesse Glick
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: