aQute.bnd.maven.MavenGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
package aQute.bnd.maven;
import java.util.Map;
import aQute.bnd.service.Plugin;
import aQute.service.reporter.Reporter;
public class MavenGroup implements BsnToMavenPath, Plugin {
String groupId = "";
public String[] getGroupAndArtifact(String bsn) {
String[] result = new String[2];
result[0] = groupId;
result[1] = bsn;
return result;
}
public void setProperties(Map map) {
if (map.containsKey("groupId")) {
groupId = map.get("groupId");
}
}
public void setReporter(Reporter processor) {}
}