: Dependent artifacts and EARs
I think I managed to do what you are shooting for with the existing
plugins..
reference the dependencies required by the war as
provided and then in the ear change all of the
dependencies to compile or runtime and you
should end up with empty wars files and a whole lot of
I think I managed to do what you are shooting for with the existing
plugins..
reference the dependencies required by the war as provided
and then in the ear change all of the dependencies to compile
or runtime and you should end up with empty wars files and a
whole lot of dependencies in the ear..
This is an interesting problem.
The reason you don't get the WAR's dependencies is because they are not
transitive because they are included in the WAR.
Is it possible to pull them fomr WEB-INF/lib? I assume you need to
remove them from there anyway.
The other alternative is to create a new
Given an Artifact, how to I get its set of dependent artifacts?
I'm trying to modify the EAR plugin to support "skinny" WARs i.e. WARs
which have nothing in WEB-INF/lib but rather reference JARs packaged in
their parent EAR. In other to do this, I need to be able to get the
dependencies for each