code: public static Project getProject(Resource resource) {
  		Project retval = new Project();
  		retval.setUri(resource.getUri());
  		retval.setUsername(resource.getUsername());
  		retval.setPassword(resource.getPassword());
  		retval.setBranchTagName(resource.getBranchTagName());
  		return retval;
  	}
docs: <p>
  get project from a resource
  </p>
  
  @param resource
  @return