Yeah, It can detect the files in the src/main/java foler, but the files in src/main/resources are out of reachability, same as portlet.xml and liferay-hook.xml.