I have generated binary jar, source code jar and javadoc jar, but the "mvn install" only install the binary java, is there any easy way to also install source code jar and javadoc jar ? Thanks
The simplest way to achieve it is by using the performRelease flag
mvn -DperformRelease=true clean install
It will add sources and javadocs to the installed artifact
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.