Failed to resolve artifact when I run “mvn deploy site-deploy” but works fine if I split the command “mvn deploy” and then “mvn site-deploy”
问题 Build fails when I run mvn deploy site-deploy . But works fine when I split the command. i.e., First, mvn deploy and then mvn site-deploy . All these years we were using the command mvn deploy site-deploy to perform our builds. We recently migrated to Sonatype Nexus repository and our very first build would fail. We are using Maven 2.2.1 and Sonatype Nexus 2.7.2. maven.site.plugin 2.1.1 and wagon-webdav-jackrabbit 2.5 in our pom file. Any advice or input is highly appreciated. Thank you!!! :)