blob: 7be8c9e6075dcef93f353649866d08b3f2785923 [file] [log] [blame]
Stuart McCullochf3173222012-06-07 21:57:32 +00001package aQute.bnd.maven;
2
3import java.util.*;
4
5import aQute.bnd.service.*;
Stuart McCulloch1a890552012-06-29 19:23:09 +00006import aQute.service.reporter.*;
Stuart McCullochf3173222012-06-07 21:57:32 +00007
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}