Pom refactoring

Fix of some warnings and duplications on pom.xml files.
Extraction into properties of maven-compiler-plugin source and target.