title: How use Java ServiveLocator with One-Jar
body: <p>I'm packaging an application of mine in a single jar using the One-Jar tool: </p>
  
  <p><a href="http://one-jar.sourceforge.net/">http://one-jar.sourceforge.net/</a></p>
  
  <p>It works nike, but I have a problem with a service implemented in a dependency module, which is implemented in a separate jar. </p>
  
  <p>The module uses the standard Java ServiceLoader mechanism to provide its service i.e. the jar has a file META-INF/services/package.name.ServiceProviderClass which specifies the service concrete class to be instantiated. </p>
  
  <p>BUT when this jar is embedded in the application "fat-jar", created by One-Jar, the the service it is NOT discovered by the service loader mechanism. </p>
  
  <p>Any idea how to make it work?</p>
  
  <p>Cheers,
  Paolo</p>