title: What is making the *sources.jar during Maven release?
body: <p>I am certain that I do not have maven-source-plugin in my  plugins, but a [project-name]-sources.jar is always getting built during release:perform.  It doesn't seem to be doing it during other stages of the build life-cycle.  </p>
  
  <p>Unfortunately, this [project-name]-sources.jar gets uploaded to our repository (Nexus).  Management wants all sources to be kept in SVN and away from the repository.</p>
  
  <p>How do I do that?  This is certainly not an assembly issue.  We've tried different build profiles but the [project-name]-sources.jar still remained.  We just don't want any source codes get uploaded to the repository during releases.  </p>
  
  <p>Any idea any one?  </p>
  
  <p>Thanks in advance.</p>
  
  <p>Below is all we use in the  tag:</p>
  
  <pre><code>    &lt;build&gt;
      &lt;plugins&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.5.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;source&gt;1.6&lt;/source&gt;
                  &lt;target&gt;1.6&lt;/target&gt;
                  &lt;compilerArgument&gt;-Xlint:all&lt;/compilerArgument&gt;
                  &lt;showWarnings&gt;true&lt;/showWarnings&gt;
                  &lt;showDeprecation&gt;true&lt;/showDeprecation&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
          &lt;!-- Release Reference: http://maven.apache.org/maven-release/maven-release-plugin/index.html --&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-release-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.4.2&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;tagBase&gt;http://some.url.here&lt;/tagBase&gt;
                  &lt;checkModificationExcludes&gt;
                      &lt;checkModificationExclude&gt;.classpath&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;.factorypath&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;.project&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;.rest-shell.log&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;.springBeans&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;.apt-generated/**&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;.settings/**&lt;/checkModificationExclude&gt;
                      &lt;checkModificationExclude&gt;src\main\resources\rebel.xml&lt;/checkModificationExclude&gt;
                  &lt;/checkModificationExcludes&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-javadoc-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.2&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;skip&gt;true&lt;/skip&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt; 
          &lt;plugin&gt;
              &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
              &lt;artifactId&gt;maven-war-plugin&lt;/artifactId&gt;
              &lt;version&gt;2.1.1&lt;/version&gt;
              &lt;configuration&gt;
                  &lt;archive&gt;
                      &lt;index&gt;true&lt;/index&gt;
                      &lt;manifest&gt;
                          &lt;addClasspath&gt;true&lt;/addClasspath&gt;
                      &lt;/manifest&gt;
                      &lt;manifestEntries&gt;
                          &lt;version&gt;${project.version}&lt;/version&gt;
                      &lt;/manifestEntries&gt;
                  &lt;/archive&gt;
              &lt;/configuration&gt;
          &lt;/plugin&gt;
  
      &lt;/plugins&gt;
  &lt;/build&gt;
  </code></pre>