CommitBuilder commit = new CommitBuilder();
if (type.equals("war"))
commit.type("webapp");
if (type.equals("ear"))
commit.type("entapp");
commit.tagKey("default/" + name);
//String tag = type + "s/default/default/" + name;
/*
HashMap<String,String> attributes = new HashMap<String,String>();
attributes.put(DeployClient.USER_ATTRIBUTE, _user);
attributes.put(DeployClient.MESSAGE_ATTRIBUTE, "");