fixed some bugs related to maven, added compile descriptions.