}
}
protected String[] downloadProperties(ArtifactDTO artifact, String version) {
try {
AetherResult result = aether.resolve(artifact.getGroupId(), artifact.getArtifactId(), version, "properties", "camelComponent");
if (result != null) {
List<File> files = result.getResolvedFiles();
if (files != null && files.size() > 0) {
File file = files.get(0);
Properties p = new Properties();
p.load(new FileInputStream(file));
String comps = p.getProperty("components", "");