public static ResolvedArtifact fromCoordinateNode(String coordinates, Node node) {
        String[] parts = parseCoordinates(coordinates);
        ObjectNode objectNode = node.expectObjectNode();
        String shaSum = objectNode.expectMember(SHA_SUM_MEMBER_NAME).expectStringNode().getValue();
        Path location = Paths.get(objectNode.expectMember(PATH_MEMBER_NAME).expectStringNode().getValue());
        return new ResolvedArtifact(location, coordinates, parts[0], parts[1], parts[2], shaSum);
    }
Creates a resolved artifact from a Maven coordinates string and Node.

@param coordinates Maven coordinates (e.g., group:artifact:version).
@param node Node containing the resolved artifact data.
@return Returns the created artifact
smithy-cli/src/main/java/software/amazon/smithy/cli/dependencies/ResolvedArtifact.java