Hi all,
I'm working on integrating Ivy into our existing ant based build system. I've
only been working with this for a short period of time so I might have missed
some important concept.
My problem now is that I have a module app that depends on mail which in turn
depends on app. This is a circular dependency and I would like for Ivy to fail.
This is my Ivy files:
App:
<ivy-module version="2.0">
<info organisation="${ivy.organisation}" module="app" revision="${version}"/>
<dependencies>
<dependency org="com.iipax" name="mail" rev="latest.integration" />
</dependencies>
</ivy-module>
Mail:
<ivy-module version="2.0">
<info organisation="${ivy.organisation}" module="mail" revision="${version}"/>
<dependencies>
<dependency org="com.iipax" name="app" rev="latest.integration" />
</dependencies>
</ivy-module>
In my settings file I have circularDependencyStrategy set to error.
My expectation was when I build one of this modules I would get an error but
everything works just fine.
[ivy:resolve] :: Ivy 2.2.0 - 20100923230623 :: http://ant.apache.org/ivy/ ::
[ivy:resolve] :: loading settings :: file =
C:\code\cc\maggr_dev\ida\java\ivysettings.xml
[ivy:resolve] :: resolving dependencies :: com.iipax#mail;4.12M4-SNAPSHOT
[ivy:resolve] confs: [default]
[ivy:resolve] found com.iipax#app;4.12M4-SNAPSHOT in local
[ivy:resolve] [4.12M4-SNAPSHOT] com.iipax#app;latest.integration
[ivy:resolve] downloading
C:\Users\maggr\.ivy2\local-repo\com.iipax\app\app-4.12M4-SNAPSHOT.jar ...
[ivy:resolve] .. (2kB)
[ivy:resolve] .. (0kB)
[ivy:resolve] [SUCCESSFUL ] com.iipax#app;4.12M4-SNAPSHOT!app.jar (77ms)
[ivy:resolve] :: resolution report :: resolve 3419ms :: artifacts dl 78ms
---------------------------------------------------------------------
| | modules
|| artifacts |
| conf | number|
search|dwnlded|evicted|| number|dwnlded|
---------------------------------------------------------------------
| default | 1 | 1 | 0 | 0
|| 1 | 1 |
---------------------------------------------------------------------
What am I missing?
/Magnus