mvn release perform尝试将sources.jar两次放到nexus 首先,它将其与其他工件(.war,javadoc.jar ..)放在一起 然后它进行批量部署并尝试再次放置sources.jar。有什么想法发生了什么?
[INFO] [INFO] Bulk deploying locally gathered artifacts from directory:
[INFO] [INFO] * Bulk deploying locally gathered snapshot artifacts to URL
答案 0 :(得分:1)
maven-deploy-plugin与nexus-staging-maven-plugin相冲突。我不得不放
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>