三.用命令自动安装jar包到本地repository里面去mvninstall:install-file-DgroupId=org.zenika.widget-DartifactId=gwt-datepicker-Dversion=r29-Dpackaging=jar-Dfile=C:\gwt-datepicker-r29.jar命令参数详解:mvninstall:install-file:maven安装命令-DgroupId:包名(在repository里面会建立一个如org/zenika/widget方件夹)-DartivactId:artifact写你的jar名称-Dversion:版本号名称-D