Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50804

Enforcer rules for incremental/snapshot deps

    Details

    • Type: Story
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: plugin-pom
    • Labels:
      None
    • Similar Issues:
    • Epic Link:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              jglick Jesse Glick
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: