code: public static MavenCoord fromGAVPC(String coordGavpc)
      {
          Matcher mat = REGEX_GAVCP.matcher(coordGavpc);
          if (!mat.matches())
              throw new IllegalArgumentException("Wrong Maven coordinates format, must be G:A:V[:P[:C]] . " + coordGavpc);
  
          return new MavenCoord()
          .setGroupId(mat.group(1))
          .setArtifactId(mat.group(2))
          .setVersion(mat.group(3))
          .setPackaging(mat.group(4))
          .setClassifier(mat.group(5));
      }
docs: Creates a {@link MavenCoord} from the given coordinate String.