public String toCanonicalForm() {
		String out = groupId + ":" + artifactId;
		if (version != null && !version.isEmpty()) {
			if (type != null && !type.isEmpty()) {
				if (classifier != null && !classifier.isEmpty()) {
					out += ":" + classifier;
				}
				out += ":" + type;
			}
			out += ":" + version;
		}
		return out;
	}
Turns a Maven artifact coordinate into a string. This is a lossy format that
doesn't follow any known specification and only exists for backward
compatibility with the build integration.

@return stringified version of the coordinate
src/main/java/dev/jbang/dependencies/MavenCoordinate.java