blob: d74b6d6c424f846e3fc73224c3fe67090cd9156b [file] [log] [blame]
Stuart McCullochf3173222012-06-07 21:57:32 +00001package aQute.bnd.maven;
2
3import java.util.*;
4
5import aQute.bnd.service.*;
6import aQute.libg.reporter.*;
7
8public class MavenGroup implements BsnToMavenPath, Plugin {
Stuart McCulloch4482c702012-06-15 13:27:53 +00009 String groupId = "";
Stuart McCullochf3173222012-06-07 21:57:32 +000010
Stuart McCulloch4482c702012-06-15 13:27:53 +000011 public String[] getGroupAndArtifact(String bsn) {
12 String[] result = new String[2];
13 result[0] = groupId;
14 result[1] = bsn;
15 return result;
16 }
Stuart McCullochf3173222012-06-07 21:57:32 +000017
Stuart McCulloch4482c702012-06-15 13:27:53 +000018 public void setProperties(Map<String,String> map) {
19 if (map.containsKey("groupId")) {
20 groupId = map.get("groupId");
21 }
22 }
Stuart McCullochf3173222012-06-07 21:57:32 +000023
Stuart McCulloch4482c702012-06-15 13:27:53 +000024 public void setReporter(Reporter processor) {}
Stuart McCullochf3173222012-06-07 21:57:32 +000025
26}