code: public static DependencyBuilder create(final String identifier)
     {
        DependencyBuilder dependencyBuilder = new DependencyBuilder();
  
        if (identifier != null)
        {
           String[] split = identifier.split(":");
           if (split.length > 0)
           {
              dependencyBuilder.setGroupId(split[0].trim());
           }
           if (split.length > 1)
           {
              dependencyBuilder.setArtifactId(split[1].trim());
           }
           if (split.length > 2)
           {
              dependencyBuilder.setVersion(split[2].trim());
           }
           if (split.length > 3)
           {
              String trimmed = split[3].trim();
              dependencyBuilder.setScopeType(trimmed);
           }
           if (split.length > 4)
           {
              String trimmed = split[4].trim();
              dependencyBuilder.setPackaging(trimmed);
           }
        }
  
        return dependencyBuilder;
     }
docs: @param identifier of the form "groupId:artifactId", "groupId:artifactId:version", "groupId:artifactId:scope, "
  groupId :artifactId:version:scope", "groupId:artifactId:version:scope:packaging"
  
  For classifier specification, see {@link #setClassifier(String)}