Maven抛出异常repository element was not specified in the POM inside distributionManagement element

版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/jintianhen1/article/details/9342831

需要在pom.xml文件中添加,此处的id应该和settings里面的id相同

<distributionManagement>
		<repository>
			<id>nexus-releases</id>
			<name>releases</name>
			<url>http://127.0.0.1:8081/nexus/content/repositories/releases/</url>
		</repository>
	</distributionManagement>

展开阅读全文

没有更多推荐了,返回首页