}
}
public static Dependency createDependecy(final String basePath, final String relativeFileName, final String version) {
Dependency result = null;
File jarFilePath = new File(basePath, relativeFileName);
String groupId = MANUAL_GROUP_ID + "." + StringUtils.convertPathToObjectName(jarFilePath.getParent());
String fileName = jarFilePath.getName();
fileName = fileName.substring(0, fileName.length() - ".jar".length());
String artifactId = fileName;
result = new Dependency();
result.groupId = groupId;
result.artifactId = artifactId;
result.version = version;
return result;