Uploaded image for project: 'Maven Enforcer Plugin'
  1. Maven Enforcer Plugin
  2. MENFORCER-185

Require Release Dependencies ignorant about aggregator build

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.3.1
    • Fix Version/s: 3.0.0
    • Component/s: Standard Rules
    • Labels:
      None

      Description

      If A depends on B it is ok for A-1.0.0-SNAPSHOT to have snapshot dependency on B-1.0.0-SNAPSHOT if B was build before A during the same reactor build.

      Using the requireReleaseDeps rule it seems that SNAPSHOTS are generally not allowed even when they belong to the same project and were built during the same reactor build.

      We have a complex project with 100+ modules. I want to enforce that no module has dependencies on project SNAPSHOTS that were not included in the build. In such case A would use a stale version of B that happened to be available in the local/remote maven repository.

        Attachments

        1. MENFORCER-185.patch
          116 kB
          Guillaume Boué
        2. seuss.zip
          2 kB
          Curtis Rueden

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tdiesler Thomas Diesler
              • Votes:
                7 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated: