将项目发布到neuxs私服
需要在
pom.xml中配置
<distributionManagement>
		<repository>
			<id>user-release</id>
			<name>release</name>
			<url>http://localhost:8081/nexus/content/repositories/zzq-relase/</url>
		</repository>
		<snapshotRepository>
			<id>user-snapshots</id>
			<name>snapshots</name>
			<url>http://localhost:8081/nexus/content/repositories/zzq-snapshots/</url>
		</snapshotRepository>
	</distributionManagement>
然后在本地库的setting.xml中配置
<server><!--正式发行仓库账号-->
    	<id>user-release</id>
    	<username>zzq</username>
    	<password>zzq123</password>
    </server>
    <server><!--快照版发行仓库账号-->
    	<id>user-snapshots</id>
 	    <username>zzq</username>
    	<password>zzq123</password>
    </server>
执行 clean deploy

 
                
            
         
         浙公网安备 33010602011771号
浙公网安备 33010602011771号