public static String artifactToString(Artifact artifact) {
        StringBuilder buffer = new StringBuilder(128);
        buffer.append(artifact.getGroupId());
        buffer.append(':').append(artifact.getArtifactId());
        buffer.append(':').append(artifact.getExtension());
        if (artifact.getClassifier().length() > 0) {
            buffer.append(':').append(artifact.getClassifier());
        }
        buffer.append(':').append(artifact.getVersion());
        return buffer.toString();
    }
@Test
    public void artifactToString() {
        Artifact testArtifact = new DefaultArtifact("org.apache.storm:storm-core:1.0.0");

        String ret = AetherUtils.artifactToString(testArtifact);
        assertEquals("org.apache.storm:storm-core:jar:1.0.0", ret);
    }