title: How to reference a jar (containing only stubs) created with rmic:package maven goal from a POM?
body: <p>I have a RMI app and the Stubs are generated with maven (rmic:rmic).</p>
  
  <p>Then I use the rmic:package goal and get a nice little jar with only the stubs.</p>
  
  <p>Now the bis question is: How can I reference this jar from the poms of other projects?</p>
  
  <p>I cant give it an ArtifactId (or do I?!) and when I use the classifier, it downloads all dependecies of the original Project and NOT the jar with the stubs.</p>
  
  <p>Please give me a hint, how I can actually use this jar in a nice behaving maven way :-)</p>
  
  <p>thanks in advance, I vote for stuff and accept answers, so you'll get your points!</p>