[
https://issues.apache.org/jira/browse/IGNITE-5882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16108581#comment-16108581
]
Vyacheslav Daradur edited comment on IGNITE-5882 at 8/1/17 9:13 AM:
--------------------------------------------------------------------
There were two dependincies in: ignite\modules\core\pom.xml
{code}
...
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>14.0.1</version>
<scope>test</scope>
</dependency>
...
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
</dependency>
...
{code}
I removed the dependency with version 14.0.1, because it looked outdated.
({{guava.version}} = 18.0 in ignite\parent\pom.xml)
I think such change may affect on compilation only, it passed fine according to
tests above.
Sent to [ci.test|http://ci.ignite.apache.org/viewQueued.html?itemId=749544]
once again, just to be sure.
was (Author: daradurvs):
There were two dependincies in: ignite\modules\core\pom.xml
{code}
...
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>14.0.1</version>
<scope>test</scope>
</dependency>
...
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
<scope>test</scope>
</dependency>
...
{code}
I removed the dependency with version 14.0.1, because it look outdated.
({{guava.version}} = 18.0 in ignite\parent\pom.xml)
I think such change may affect on compilation only, it passed fine according to
tests above.
Sent to [ci.test|http://ci.ignite.apache.org/viewQueued.html?itemId=749544]
once againt, just to be sure.
> Duplicated dependency in pom.xml of core module
> -----------------------------------------------
>
> Key: IGNITE-5882
> URL: https://issues.apache.org/jira/browse/IGNITE-5882
> Project: Ignite
> Issue Type: Bug
> Components: build
> Affects Versions: 2.1
> Reporter: Vyacheslav Daradur
> Assignee: Vyacheslav Daradur
> Fix For: 2.2
>
>
> {code}
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model
> for org.apache.ignite:ignite-core:jar:2.2.0-SNAPSHOT
> [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
> be unique: com.google.guava:guava:jar -> version 14.0.1 vs ${guava.version} @
> line 215, column 21
> [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}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)