title: Publishing a spring boot executable jar artifact
body: <p>I'm using the Gradle publishing mechanism that is is still in incubation using the <code>publishing</code> DSL.</p>
  
  <pre><code>    publishing {
          publications {
              mavenJava(MavenPublication) {
                  from components.java
                  pom.withXml {
                      def parentNode = asNode().appendNode('parent')
                      parentNode.appendNode('groupId', 'org.springframework.boot')
                      parentNode.appendNode('artifactId', 'spring-boot-starter-parent')
                      parentNode.appendNode('version', springBootVersion)
                  }
                  // BEGIN sourcejar
                  artifact sourceJar {
                      classifier "sources"
                  }
                  // END sourcejar
                  artifact sharedTestJar {
                      classifier "sharedtest"
                  }
              }
          }
  </code></pre>
  
  <p>This basically works but as soon as as I'm adding a classifier the repackaged artifact is not deployed anymore. So what configuration do I have to refer to for registering the repackaged artifact for publication?</p>
  
  <pre><code>bootRepackage {
      classifier = 'exec'
  }
  </code></pre>