发布本地仓库
mvn install:install-file -Dfile=D:guirenexe_projectjava-demosrcmain
esourceslibaspose-cells-18.4.0718.jar -DgroupId=com.aspose -DartifactId=aspose-cells -Dversion=18.4.0718 -Dpackaging=jar
mvn install:install-file -Dfile=D:guirenexe_projectjava-demosrcmain
esourceslibaspose-words-18.6-jdk16.jar -DgroupId=com.aspose -DartifactId=aspose-words -Dversion=18.6-jdk16 -Dpackaging=jar
发布到私服
mvn deploy:deploy-file -Dfile=D:maven
epositorycomasposeaspose-words18.6-jdk16aspose-words-18.6-jdk16.jar -DgroupId=com.aspose -DartifactId=aspose-cells -Dversion=18.4.0718 -Dpackaging=jar -Durl=http://ip:port/nexus/repository/maven-public/ -DrepositoryId=maven-public