The installation actually works fine, because the Maven handler is taking care of the type target. But this information is lost because there is no standard API in EM for the concept of dependency having a different type than the target extension.