You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tamaya.apache.org by "Philipp Ottlinger (JIRA)" <ji...@apache.org> on 2016/11/28 21:32:58 UTC

[jira] [Created] (TAMAYA-205) Build warnings about duplicate versions for mockito

Philipp Ottlinger created TAMAYA-205:
----------------------------------------

             Summary: Build warnings about duplicate versions for mockito
                 Key: TAMAYA-205
                 URL: https://issues.apache.org/jira/browse/TAMAYA-205
             Project: Tamaya
          Issue Type: Bug
    Affects Versions: 0.2-incubating
         Environment: 22:29 $ mvn --version
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
Maven home: /home/me/software/maven
Java version: 1.8.0_112, vendor: Oracle Corporation
Java home: /home/me/jdk1.8.0_112/jre
Default locale: de_DE, platform encoding: UTF-8
OS name: "linux", version: "4.4.0-47-generic", arch: "amd64", family: "unix"

            Reporter: Philipp Ottlinger
             Fix For: 0.3-incubating


Jenkins and locally you see the following warning in each build of tamaya:
{code}
✔ ~/ws2016/incubator-tamaya [master|✚ 1] 
22:29 $ mvn
[INFO] Scanning for projects...
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:buildconfigurations:jar:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:tamaya-api:jar:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:tamaya-core:bundle:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:tamaya-code:pom:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:tamaya-docs:jar:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya.examples:01-minimal:jar:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya.examples:examples:pom:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:tamaya-distribution:jar:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ org.apache.tamaya:tamaya-all:0.3-incubating-SNAPSHOT, /home/me/ws2016/incubator-tamaya/pom.xml, line 265, column 25
[WARNING] 
[WARNING] Some problems were encountered while building the effective model for org.apache.tamaya:tamaya-all:pom:0.3-incubating-SNAPSHOT
[WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.mockito:mockito-core:jar -> version 2.2.26 vs (?) @ line 265, column 25
[WARNING] 
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] 
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING] 
{code}

The mockito-version is defined in the base pom but not in the mentioned module's subpom.xml - where does the second version come from?





--
This message was sent by Atlassian JIRA
(v6.3.4#6332)