public void testMavenGroupId() {
PathMatcher matcher = Maven.parse("mvn:groupId:org.apache,org.foo");
assertTrue(matcher.matches(Paths.get("org")));
assertTrue(matcher.matches(Paths.get("org/apache")));
assertTrue(matcher.matches(Paths.get("org/apache/foo.jar")));
assertTrue(matcher.matches(Paths.get("org/foo")));
assertTrue(matcher.matches(Paths.get("org/foo/foo/bar.jar")));
assertFalse(matcher.matches(Paths.get("org/jboss")));
assertFalse(matcher.matches(Paths.get("org/jboss/foo.jar")));
assertFalse(matcher.matches(Paths.get("com/jboss/foo.jar")));