Maven: Compiling package-info.java to package-info.class? -


i have package-info.java in package, hibernate wants features (programatic entity scanning).

however, mvn package not result in package-info.class being in classes/ not in artifact.

how can force happening?

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" 

give -xpkginfo:always option javac.

see javac documentation.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -