I see “components.java” in the maven-publish plugin documentation. That documentation mentions that components.java is added by the Java plugin. However, the Java plugin documentation doesn’t mention anything about components. Actually I can find very little documentation about components. So what exactly is included in components.java? What is it? Why doesn’t the java plugin doc mention anything about it?
Components are defined by plugins and provide a simple way to define a publication for publishing. They comprise one or more artifacts as well as the appropriate metadata. For example, the java component consists of the production JAR — produced by the jar task — and its dependency information.