You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Reynald Borer (JIRA)" <ji...@codehaus.org> on 2013/04/23 10:41:53 UTC

[jira] (MENFORCER-134) Require Upper Bound Dependencies and matching Snapshot Dependencies

    [ https://jira.codehaus.org/browse/MENFORCER-134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=324101#comment-324101 ] 

Reynald Borer commented on MENFORCER-134:
-----------------------------------------

Hi,

I have the exact same problem. This is causing too much disruption of my development team and my CI infrastructure, so I have to disable this enforcer rule.

Here is the console output of one of my CI job randomly failing:

{noformat}
[INFO] --- maven-enforcer-plugin:1.2:enforce (stx-enforcement) @ tnor-model ---
[WARNING] Rule 4: org.apache.maven.plugins.enforcer.RequireUpperBoundDeps failed with message:
Failed while enforcing RequireUpperBoundDeps. The error(s) are [
Require upper bound dependencies error for com.secutix.modules:tnin-model:1.0-SNAPSHOT paths to dependency are:
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnin-model:1.0-20130423.044324-5638
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnei-model:1.0-SNAPSHOT
    +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnco-model:1.0-20130423.042904-7222
    +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnve-service:1.0-20130423.045827-5059
    +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnei-model:1.0-SNAPSHOT
    +-com.secutix.modules:tnca-model:1.0-SNAPSHOT
      +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnca-service:1.0-20130423.051433-6309
    +-com.secutix.modules:tnin-service:1.0-SNAPSHOT
      +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnca-service:1.0-20130423.051433-6309
    +-com.secutix.modules:tnve-service:1.0-SNAPSHOT
      +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
and
+-com.secutix.modules:tnor-model:1.0-SNAPSHOT
  +-com.secutix.modules:tnei-model:1.0-SNAPSHOT
    +-com.secutix.modules:tnca-model:1.0-SNAPSHOT
      +-com.secutix.modules:tnve-model:1.0-SNAPSHOT
        +-com.secutix.modules:tnin-model:1.0-SNAPSHOT
]
{noformat}
                
> Require Upper Bound Dependencies and matching Snapshot Dependencies
> -------------------------------------------------------------------
>
>                 Key: MENFORCER-134
>                 URL: https://jira.codehaus.org/browse/MENFORCER-134
>             Project: Maven 2.x Enforcer Plugin
>          Issue Type: Improvement
>          Components: Standard Rules
>    Affects Versions: 1.1
>         Environment: Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_32
> Java home: C:\Program Files\Java\jdk1.6.0_32\jre
> Default locale: de_DE, platform encoding: Cp1252
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Max Schaefer
>
> When I use the rule requireUpperBoundDeps it complains even when my snapshot dependencies are not in sync e.g. 
> Require upper bound dependencies error for test:test:85.40.44-20120619.010632-7 paths to dependency are:
> +-test1:test1:4.49.0-SNAPSHOT
>   +-test:test:85.40.44-SNAPSHOT
> Could a parameter "uniqueVersions" be added like the DependencyConvergence rule has one that I could set to false e.g.
> <uniqueVersions>false</uniqueVersions> 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira