Type: Feature Request
Status: Open (View Workflow)
Affects Version/s: None
Fix Version/s: None
Linux wallace 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 i686 i386 GNU/Linux
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) Server VM (build 21.0-b17, mixed mode)
JBoss AS 7.1.1.Final
I'm using ShrinkWrap via Arquillian 1.0.0.Final.
When the Maven Dependency Resolver extension is used to load dependencies from a project pom, the ShrinkWrap and Arquillian dependencies are automatically included in produced ShrinkWrap archives. There doesn't appear to be any easy way to tell ShrinkWrap to leave its own -impl archives out, so a trivial test archive bloats to 31MB or more of Arquilian and ShrinkWrap archives
and dependencies. Some of the transitive dependencies could cause conflicts with app server libraries, too.
What I'd like to see is a very quick and easy way to tell the Maven resolver to exclude
anything from ShrinkWrap or Arquillian when loading dependencies from a pom.xml, eg:
Currently one should be able to do something like:
... but in my quick tests these exclusions appeared to have no effect.