protected static void addDependency(FeatureResource resource, String name, String version, String featureRange) {
if (!version.startsWith("[") && !version.startsWith("(")) {
Processor processor = new Processor();
processor.setProperty("@", VersionTable.getVersion(version).toString());
Macro macro = new Macro(processor);
version = macro.process(featureRange);
}
Map<String, String> dirs;
Map<String, Object> attrs;
dirs = new HashMap<String, String>();
attrs = new HashMap<String, Object>();