title: Gradle - generate pom without dependencies
body: <p>I want to generate a pom file that does not include dependencies. I have tried clearing the dependencies using the code below, however the dependencies are still listed in the generated pom. </p>
  
  <pre><code>install.doFirst {
      repositories.mavenInstaller {
          pom.dependencies.clear()
      }
  }
  </code></pre>
  
  <p><strong>Why I need this:</strong> I need a pom file to be included with my jar when I upload it to a "home brewed" service, however the service blows up when it reads '+' as the version for the dependencies (I am using dynamic dependencies). </p>