I have found a case where mvn install & deploy work fine but site-deploy
does not.  The reason is that during site-deploy the surefire plugin is
building a class loading list in the surefirebooter jar's Manifest that is
different.

The reason this matters in my case is that I have some class overrides in
one of my child poms (multi-module project).  Its important that my child
artifact with the overrides gets added to the classpath first.  I don't know
what logic surefire uses to know what order to use but in the case of
site-deploy it is putting the original before my override.

I want to be able to specify the jar class loading order surefire uses (like
I could do in a war for instance at runtime).  How can I do this with
surefire?

-Dave

Reply via email to