use new log4j 2 configuration format
destroy context on close
add generics
remove unused dependencies and imports
ensure spring context is added to archetype