protected void addDependencies() {
   addDependency("com.liferay.portal", "portal-impl", "default");
   addDependency("com.liferay.portal", "portal-service", "default");
   addDependency("com.liferay.portal", "util-java", "default");
   addDependency("com.thoughtworks.xstream", "xstream", "1.4.3");
   addDependency("commons-configuration", "commons-configuration", "1.6");
   addDependency("commons-lang", "commons-lang", "2.6");
   addDependency("easyconf", "easyconf", "0.9.5", false);
   addDependency("javax.servlet", "javax.servlet-api", "3.0.1");
 }
 protected void addDependency(String group, String name, String version) {
   addDependency(group, name, version, true);
 }