Set source and resource directories in pom.xml

This change allows NetBeans to show folders in the Projects pane when
the pom.xml is opened as a project.

Change-Id: Id695693ab24d9f2cdc92320bd0d7cb98c00b2a19