I have 2 web project: myLibraryProject and myWebProject
myWebProject depends on myLibraryProject, and each use ivy for dependency management:
myLibraryProject ivy.xml:
<ivy-module>
<info organisation="it.me" module="my-library" />
<!-- ... configurations and dependencies ... -->
</ivy-module>
myWebProject ivy.xml:
<ivy-module>
<info organisation="it.me" module="my-web" />
<!-- ... configurations... -->
<dependencies>
<dependency org="it.me" name="my-library" rev="latest.integration" />
</dependencies>
</ivy-module>
I'm also using Resolve in workspace (within eclipse and ivyDe plugin).
it's able to resolve the dependency, but it put my-library.war in my-web.war/WEB-INF/lib/
This way myWebProject can't use the library becouse it expect a jar, and not a war.
How can i tell... eclipse? ivy?... to not create war but a jar ?