title: Is there a JUnit library/utility to detect the presence of a library?
body: <p>We're using a few libraries that include an xml parser library through maven.  We think we've excluded most of those as we are using a newer version.</p>
  
  <p>Is there some sort of JUnit library to check an ear/war for the presence of that jar and fail the test if its there?  Or do we just need to write some code to unzip the archive and loop over the directory checking for it?</p>