Stuart McCulloch | 26e7a5a | 2011-10-17 10:31:43 +0000 | [diff] [blame^] | 1 | package aQute.bnd.maven; |
| 2 | |
| 3 | import java.util.*; |
| 4 | |
| 5 | import aQute.bnd.service.*; |
| 6 | import aQute.libg.reporter.*; |
| 7 | |
| 8 | public class MavenGroup implements BsnToMavenPath, Plugin { |
| 9 | String groupId = ""; |
| 10 | |
| 11 | public String[] getGroupAndArtifact(String bsn) { |
| 12 | String[] result = new String[2]; |
| 13 | result[0] = groupId; |
| 14 | result[1] = bsn; |
| 15 | return result; |
| 16 | } |
| 17 | |
| 18 | public void setProperties(Map<String, String> map) { |
| 19 | if (map.containsKey("groupId")) { |
| 20 | groupId = map.get("groupId"); |
| 21 | } |
| 22 | } |
| 23 | |
| 24 | public void setReporter(Reporter processor) { |
| 25 | } |
| 26 | |
| 27 | } |