public String getShortName() {
    return getGroupId()
        + ":"
        + getArtifactId()
        + ":"
        + getVersion()
        + ((getClassifier() == null) ? "" : ":" + getClassifier());
  }
@Test
  public void testGetShortName() throws Exception {
    assertThat(new DependencyJar("com.group", "artifact", "1.3", null).getShortName())
        .isEqualTo("com.group:artifact:1.3");
    assertThat(new DependencyJar("com.group", "artifact", "1.3", "dll").getShortName())
        .isEqualTo("com.group:artifact:1.3:dll");
  }