added compile and war plugin for maven