@Test
public void getGroupIdFromGavc(){

    final String gavc1 = "groupId:artifactId:version:classifier:extension";
    final String gavc2 = "test";
    assertEquals("groupId", DataUtils.getGroupId(gavc1));
    assertEquals("test", DataUtils.getGroupId(gavc2));
}