title: gradlew publish is giving error not able to create copy on my repo
body: <h2 id="i-am-new-with-nexus-trying-to-run-gradlew-publish-but-is-giving-error-as-mention-below">I am new with Nexus trying to run gradlew publish , but is giving error as mention below :</h2>
  <pre><code>    C:\&gt;gradlew publish
  &gt; Task :publishMavenPublicationToNexusRepository FAILED
  
  FAILURE: Build failed with an exception.
  
  * What went wrong:
  Execution failed for task ':publishMavenPublicationToNexusRepository'.
  &gt; Failed to publish publication 'maven' to repository 'nexus'
     &gt; Invalid publication 'maven': artifact file does not exist: 
  </code></pre>
  <p>I am trying to follow some Bootcamp training and this is the code I got :</p>
  <hr />
  <pre><code>plugins {
      id 'java'
      id 'org.springframework.boot' version '2.2.2.RELEASE'
      id 'io.spring.dependency-management' version '1.0.8.RELEASE'
  
      repositories {
          maven {
              name 'nexus'
              url &quot;http://139.59.150.201:8081/repository/maven-snapshots/&quot;
              credentials {
                  username project.repoUser
                  password project.repoPassword
              }
          }
  
      }
  }
  </code></pre>