title: How to publish multiple artifacts per project
body: <p>I`m trying to publish mutliple artifacts per project.</p>
  
  <p><a href="https://stackoverflow.com/questions/7826652/how-to-upload-an-existing-collection-of-3rd-party-jars-to-a-maven-server-in-grad/27416369#27416369">How to upload an existing collection of 3rd-party Jars to a Maven server in Gradle?</a></p>
  
  <p>I have tried to apply this solution -</p>
  
  <p>My build.gradle looks like: <a href="https://gist.github.com/anonymous/01b31c26eca7a507c14f" rel="nofollow noreferrer">https://gist.github.com/anonymous/01b31c26eca7a507c14f</a></p>
  
  <p>I tried to follow the documentation: <a href="http://www.gradle.org/docs/current/us" rel="nofollow noreferrer">http://www.gradle.org/docs/current/us</a>...</p>
  
  <p>What I`m getting is:</p>
  
  <p>What went wrong: Execution failed for task ':install'. Could not publish configuration 'archives' > A POM cannot have multiple artifacts with the same type and classifier. Already have MavenArtifact my:jar:jar:null, trying to add MavenArtifact my:jar:jar:null. </p>
  
  <p>My env: Gradle 2.2.1</p>
  
  <p>Build time: 2014-11-24 09:45:35 UTC Build number: none Revision: 6fcb59c06f43a4e6b1bcb401f7686a8601a1fb4a</p>
  
  <p>Groovy: 2.3.6 Ant: Apache Ant(TM) version 1.9.3 compiled on December 23 2013 JVM: 1.7.0_71 (Oracle Corporation 24.71-b01) OS: Windows 8.1 6.3 amd64</p>
  
  <p>Thanks for your help.</p>