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

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

    XMLWordPrintable

Details

    • Story
    • Status: Resolved (View Workflow)
    • Minor
    • Resolution: Fixed
    • plugin-pom
    • None

    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

          People

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: