title: Maven: Compiling package-info.java to package-info.class?
body: <p>I have package-info.java in my package, Hibernate wants it for some features (programatic entity scanning).</p>
  
  <p>However, <code>mvn package</code> does not result in <code>package-info.class</code> being in <code>classes/</code> thus not in the artifact.</p>
  
  <p>How can I force that happening?</p>
  
  <pre><code>mvn -v
  Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
  Java version: 1.6.0_26
  Java home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
  Default locale: en_US, platform encoding: UTF-8
  OS name: "linux" version: "2.6.35-30-generic" arch: "amd64" Family: "unix"
  </code></pre>