I created a project and uploaded it to maven central. And as a test, I downloaded the uploaded project, but only the JAR file was received, and the source file and javadoc file were not received.
<dependencies>
<dependency>
<groupId>groupId..</groupId>
<artifactId>artifactId..</artifactId>
<version>version..</version>
<classifier>sources</classifier>
<classifier>javadoc</classifier>
</dependency>
</dependencies>
Of course, if I write like this, everything will be imported.
But, I want to be able to receive all files if I just write like this.
<dependency>
<groupId>groupId..</groupId>
<artifactId>artifactId..</artifactId>
<version>version..</version>
</dependency>
help me