* If you are using Eclipse then set your code style to eclipse/jboss-style.xml. * If you are using Eclipse then set your check style to eclipse/jboss-format.xml. * According to http://community.jboss.org/wiki/CopyrightOwnershipandLicenses ensure you're putting correct license headers to Java and XML files.