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

requireUpperBoundDeps does not fail when packaging is 'war'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 3.0.0
    • 3.1.0
    • Plugin
    • None

    Description

      requireUpperBoundDeps does not fail when packaging is 'war', but correctly fails when changing packaging to 'jar'. Using other packaging like 'ear' does not fail either.

       

      Uncompress attached zip file to reproduce bug:

       

      cd artifact-a
      mvn install
      
      cd ../artifact-b
      mvn validate

       

       

      Attachments

        1. menforcer_case.zip
          2 kB
          Gabriel Belingueres

        Issue Links

          Activity

            People

              sjaranowski Slawomir Jaranowski
              belingueres Gabriel Belingueres
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: