You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Gabriel Belingueres (Jira)" <ji...@apache.org> on 2021/08/04 23:25:00 UTC

[jira] [Created] (MENFORCER-391) requireUpperBoundDeps does not fail when packaging is 'war'

Gabriel Belingueres created MENFORCER-391:
---------------------------------------------

             Summary: requireUpperBoundDeps does not fail when packaging is 'war'
                 Key: MENFORCER-391
                 URL: https://issues.apache.org/jira/browse/MENFORCER-391
             Project: Maven Enforcer Plugin
          Issue Type: Bug
          Components: Plugin
    Affects Versions: 3.0.0
         Environment: Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /home/gabriel/.sdkman/candidates/maven/3.6.3
Java version: 1.8.0_232, vendor: AdoptOpenJDK, runtime: /home/gabriel/.sdkman/candidates/java/8.0.232.hs-adpt/jre
Default locale: es_AR, platform encoding: UTF-8
OS name: "linux", version: "5.11.0-25-generic", arch: "amd64", family: "unix"

            Reporter: Gabriel Belingueres
         Attachments: menforcer_case.zip

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:

 
{noformat}
cd artifact-a
mvn install

cd ../artifact-b
mvn validate{noformat}
 

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)