3612 IvyIDEA Tools integration 19 Guy Mahieu 3.5 325036 mahieugu maartenc 2016-05-20 1.0.14


Compatible with  IntelliJ IDEA
325 036
Resolves module dependencies through Ivy


  • Apache Ivy integration (up to v2.4.0); no need for external ant build scripts to be called
  • Automatic ivy configuration of modules using facets (for modules containing an ivy.xml file)
  • Detection of dependencies that are really other intellij modules in the same project; these are added as module references
  • Detect source/document/jar type ivy artifacts in dependencies and add them as such to the module
  • Creation of a module library with all resolved ivy dependencies
  • Ivy configurations that need to be resolved can be chosen for each module
  • Properties can be injected into the ivy resolve process

Download plugin

Recent change notes

New bugfix release of the IvyIDEA plugin available!

General usage instructions

Configure the ivysettings file (usually called ivyconf.xml or ivysettings.xml) in the project settings. Add an IvyIDEA facet for every module you have that uses ivy (if it was not autodetected already) and point it to the ivy.xml file for that module. You can now resolve your dependencies through the Tools > IvyIDEA Resolve menu or through the right click menu of the project explorer.
In the IvyIDEA settings, under 'Resolve Options', there is a flag: 'Resolve dependencies transitively' however, when selected those transitive dependencies in other project's modules do not appear in the module 'Dependencies' settings. Thus, while the module can be compiled via commands line, it does NOT compile via the IDE when trying to build the project or the specific module. Am I doing something wrong here?
Can the plugin automatically detect multiple ivy.xml files and suggest to create modules for them? Accepting could start the default IDEA create module from sources dialog, prepopulated with he directory name, or could display custom dialog asking about sources layout.
Is it possible to load properties from an xml file ? I have two files, ivy-mixin.xml (xml property definition) and ivy.xml. For some reason, ivy ide cannot read the properties inside ivy-mixin.xml and make them available for ivy resolution.
Works great with Intellij IDEA 11, thanks for making this!
In IDEA 10.0.1 trying to use my own IVY settings under IvyIDEA -> General -> use your own -> button "browse for"

But button is not working...
There seems to be a few big bugs with this plugin.

1) Sometimes its source caching gets out of sync and won't detect a source change collected in a fresh artifact. The only solution is to manually "invalidate caches"

2) When you resolve via the plugin, the entire Ivy-collected library gets dropped from the facet you're deploying. This means you have to every time re-attach that library (and corresponding sources if you use them). This really slows down development.
The first ivy plugin that does the job!
this is the way to do it: simple seamless ivy dependency integration.
The plugin is well done, but what I still miss is the possibility to define a different ivy configuration during compile and packaging of my war files.

It would be great to use a "compile" or "test" configuration for compiling and junit testing. The "runtime" or "deploy" configuration could then be used for packaging only those libs inside the war.
Please  sign in  to leave a comment.