Is there a way to find from Maven in what artifact will a given class be placed?
For some context of what I'm doing: I have a class in a Maven project that I was expecting to be present in an artifact but when I try to use that artifact in another project it doesn't compile because it doesn't find the class. I can do a search in the jar files and find where the class file is. But Maven has this information already from the configuration of the first project.
So my question is if there is any maven command or plugin that could tell me in what artifact a given class is going to be added