1. 程式人生 > >如何部署 sources and javadoc jars

如何部署 sources and javadoc jars

plugins apach epo javadoc path org pac file source

mvn org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy-file -Durl=file:///home/me/m2-repo                                                                             -DrepositoryId=some.repo.id                                                                             -Dfile=./path/to/artifact-name-1.0.jar                                                                             -DpomFile=./path/to/pom.xml                                                                             -Dsources=./path/to/artifact-name-1.0-sources.jar                                                                             -Djavadoc=./path/to/artifact-name-1.0-javadoc.jar


如何部署 sources and javadoc jars