SonaType Nexus上传自定义Jar包


			org.apache.pthrift
			thrift-plugin
			0.1.10
		

SonaType Nexus上传自定义Jar包两种方式

1.pom文件方式

        1.1:在正常使用的maven工程中添加依赖,指定groupId,artifactId,version

              

        1.2:编译加载至本地

                       mvn install:install-file -DgroupId=org.apache.pthrift DartifactId=thrift-plugin                  -Dversion=0.1 -Dpackaging=jar -Dfile=/home/ubuntu/saxon-dom-9.0.jar

        1.3:打开Nexus三方库的Artifact Upload--->GAV Definition选择From POM

        1.4找到本地库的相应文件下的pom.xml文件上传



2.自定义方式jar包

        2.1:打开Nexus三方库的Artifact Upload--->GAV Definition选择GAV Paramet

        2.2:设置Group组名,Artifact和version版本号,添加自定义jar包,source包等



参考:http://blog.csdn.net/shuhuai007/article/details/7564931

            http://michael-tuan.iteye.com/blog/375686 

你可能感兴趣的:(版本管理器)