Arquillian embedded tomcat7 unfortunately includes the whole classpath

103 views Asked by At

For my arquillian tests I created a WebArchive using ShrinkWrap which only includes classes which are necessary for the integrationtest.

I use embedded-tomcat7 as container adapter and start the test via maven. Unfortunately the classpath contains all classes of my project (because maven sets it so).

Can I configure (arquillian.xml) to use an other classloader or so?

1

There are 1 answers

0
Ginkgochris On BEST ANSWER

Results after some days of search:

Don't use an embedded container if you really want to control your classpath.