title: Create (querydsl) metamodel for Entity from jar
body: <p>I'm having problems generating the querydsl metamodel (i.e. the Q-classes) for an Entity comming from a jar included in the dependencies for my project.</p>
  
  <p>The class (BaseEntity) is an abstract baseclass for most of my entities (annotated with @MappedSuperclass) and for project reasons and dependencies to other projects this baseclass has to be in a separate jar.</p>
  
  <p>When I now include this jar as a dependency for the project which contains my non-abstract entities and try to generate the metamodel (using the com.mysema.maven:apt-maven-plugin) it doesn't recognize the BaseEntity and complains with "Cannot find symbol" QBaseEntity.</p>
  
  <p>I kindof solved this by making maven unpack the source file (i.e. BaseEntity.java) into an additional source folder of the dependent project but this is kind of ugly as I have to always remember to change the version number in case of releases and also have the source dependency in my pom and it's also not very intuitive.</p>
  
  <p>So my question(s) is/are:</p>
  
  <ol>
  <li>Can I make querydsl generate the metamodel for the class from the jar somehow without copying the source to the dependent project?</li>
  <li>If this is not possible: can I make querydsl metamodel generation operate on the .class file rather than on the .java source file (with that I wouldn't need the source dependency and could only extract the .class file from the existing dependency)</li>
  </ol>
  
  <p>Any help is greatly appreciated, thanks</p>