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
Post a Comment