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/05 00:09:00 UTC
[jira] [Commented] (MENFORCER-391) requireUpperBoundDeps does not
fail when packaging is 'war'
[ https://issues.apache.org/jira/browse/MENFORCER-391?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17393511#comment-17393511 ]
Gabriel Belingueres commented on MENFORCER-391:
-----------------------------------------------
I could isolate the issue to the dependency-tree component.
> 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
> Priority: Blocker
> 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)