[
https://issues.apache.org/jira/browse/IVY-1032?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12676213#action_12676213
]
Stepan Koltsov commented on IVY-1032:
-------------------------------------
I use following ivysettings.xml:
{code}
<ivysettings>
<settings defaultResolver="default"/>
<resolvers>
<chain name="default">
<ibiblio name="ibiblio" m2compatible="true"/>
<ibiblio name="scala-tools"
root="http://scala-tools.org/repo-releases/" m2compatible="true"/>
<ibiblio name="scala-tools-ss"
root="http://scala-tools.org/repo-snapshots/" m2compatible="true"/>
</chain>
</resolvers>
</ivysettings>
{code}
org.scala-lang-scala-compiler-2.7.3.jar comes from
http://scala-tools.org/repo-releases/
ivy.xml:
{code}
<?xml version="1.0" encoding="utf-8"?>
<ivy-module version="2.0">
<info revision="0.2" organisation="ru.yandex" module="mysql-diff"/>
<configurations>
<conf name="compile"/>
<conf name="test"/>
<conf name="runtime"/>
</configurations>
<dependencies>
<dependency org="org.specs" name="specs" rev="1.4.3"
conf="test->master"/>
<dependency org="org.slf4j" name="slf4j-api" rev="1.5.3"
conf="runtime->*"/>
<dependency org="org.slf4j" name="slf4j-simple" rev="1.5.3"
conf="runtime->*"/>
<dependency org="mysql" name="mysql-connector-java" rev="5.1.6"
conf="runtime->*"/>
<dependency org="postgresql" name="postgresql" rev="8.3-603.jdbc4"
conf="runtime->*"/>
<dependency org="org.scalaforge" name="scalax" rev="0.1"
conf="runtime->*"/>
<dependency org="jarjar" name="jarjar" rev="1.0rc8" conf="compile->*">
<artifact name="jarjar" type="jar"
url="http://jarjar.googlecode.com/files/jarjar-1.0rc8.jar"/>
</dependency>
<dependency org="org.apache.ant" name="ant" rev="1.7.0"
conf="compile->*"/>
<dependency org="org.scala-lang" name="scala-compiler" rev="2.7.3"
conf="compile->*"/>
</dependencies>
</ivy-module>
{code}
Part of build.xml:
{code}
<ivy:retrieve
pattern="lib/dep/[organisation]-[artifact]-[revision].[ext]" sync="true"
type="jar"/>
{code}
> Non-informative error report: conflict on ... in [...]: ... won
> ---------------------------------------------------------------
>
> Key: IVY-1032
> URL: https://issues.apache.org/jira/browse/IVY-1032
> Project: Ivy
> Issue Type: Wish
> Components: Ant, Core
> Affects Versions: 2.0
> Reporter: Stepan Koltsov
>
> Got message:
> conflict on
> /vol0/nga/devel/yandex/mysql-diff/1/lib/dep/org.scala-lang-scala-compiler-2.7.3.jar
> in [compile]: 2.7.3 won
> And I have no idea what to do with it. What is conflict? Why 2.7.3 won? Won
> over what? Should I care?
> Full output:
> {code}
> No ivy:settings found for the default reference 'ivy.instance'. A default
> instance will be used
> [ivy:retrieve] :: Ivy 2.0.0 - 20090108225011 :: http://ant.apache.org/ivy/ ::
> :: loading settings :: file =
> /vol0/nga/devel/yandex/mysql-diff/1/ivysettings.xml
> [ivy:retrieve] :: resolving dependencies :: ru.yandex#mysql-diff;0.2
> [ivy:retrieve] confs: [compile, test, runtime]
> [ivy:retrieve] found jarjar#jarjar;1.0rc8 in scala-tools
> [ivy:retrieve] found org.apache.ant#ant;1.7.0 in ibiblio
> [ivy:retrieve] found org.apache.ant#ant-launcher;1.7.0 in ibiblio
> [ivy:retrieve] found xerces#xercesImpl;2.8.1 in ibiblio
> [ivy:retrieve] found xml-apis#xml-apis;1.3.03 in ibiblio
> [ivy:retrieve] found org.scala-lang#scala-compiler;2.7.3 in ibiblio
> [ivy:retrieve] found org.scala-lang#scala-library;2.7.3 in ibiblio
> [ivy:retrieve] found org.specs#specs;1.4.3 in scala-tools
> [ivy:retrieve] found org.slf4j#slf4j-api;1.5.3 in ibiblio
> [ivy:retrieve] found org.slf4j#slf4j-simple;1.5.3 in ibiblio
> [ivy:retrieve] found mysql#mysql-connector-java;5.1.6 in ibiblio
> [ivy:retrieve] found postgresql#postgresql;8.3-603.jdbc4 in ibiblio
> [ivy:retrieve] found org.scalaforge#scalax;0.1 in scala-tools
> [ivy:retrieve] found org.scala-lang#scala-library;2.7.3 in ibiblio
> [ivy:retrieve] [2.7.3] org.scala-lang#scala-library;[2.7.1,)
> [ivy:retrieve] :: resolution report :: resolve 5754ms :: artifacts dl 14ms
> [ivy:retrieve] :: evicted modules:
> [ivy:retrieve] org.slf4j#slf4j-api;1.5.0 by
> [org.slf4j#slf4j-api;1.5.3] in [runtime]
> ---------------------------------------------------------------------
> | | modules || artifacts |
> | conf | number| search|dwnlded|evicted|| number|dwnlded|
> ---------------------------------------------------------------------
> | compile | 7 | 1 | 0 | 0 || 8 | 0 |
> | test | 1 | 0 | 0 | 0 || 1 | 0 |
> | runtime | 7 | 1 | 0 | 1 || 6 | 0 |
> ---------------------------------------------------------------------
> [ivy:retrieve] :: retrieving :: ru.yandex#mysql-diff [sync]
> [ivy:retrieve] confs: [compile, test, runtime]
> [ivy:retrieve] conflict on
> /vol0/nga/devel/yandex/mysql-diff/1/lib/dep/org.scala-lang-scala-compiler-2.7.3.jar
> in [compile]: 2.7.3 won
> [ivy:retrieve] 0 artifacts copied, 14 already retrieved (0kB/16ms)
> {code}
> I'm trying to understand, why
> /vol0/nga/devel/yandex/mysql-diff/1/lib/dep/org.scala-lang-scala-compiler-2.7.3.jar
> sometimes contains jar with sources instead of jar with classes. I'll fill
> another report after I reproduce problem.
> This feature request is: please replace this error message with more
> informative.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.