title: How can i do a gradle publish on teamcity to publish a gradle build that uses the maven plugin?
body: <p>I have teamcity currently configured to use the maven mojo, to publish the gradle jar as a nexus snapshot with just the gav. </p>
  
  <p>I observe that if i use the maven plugin and do a gradle install in the IDE, i am able to see the generated pom.</p>
  
  <p>1) Can i use this pom to publish the jar in nexus repo in teamcity ? I know that i can do it for a pure maven build by using it's pom.</p>
  
  <p>2) Is there a way to not use this pom, and istead configure teamcity build steps to publish from gradle build directly ?</p>