Hi, I've been experimenting with the new Maven support in gradle for deploying artifacts, rather than using my own hacked up solution. I have a "releaseSnapshot" task, which does what it says - tags a SVN repo with a version and uploads a snapshot to a remote repository.
I'm trying to do the "snapshot to a remote repository" thing with the MavenUploader, with mixed success. I can get it to upload snapshots and increment the version etc: [INFO] Retrieving previous build number from remote Uploading: miniweb/library/1.0.3-SNAPSHOT/library-1.0.3-20081106.131330-7.jar to remote Uploaded 28K [INFO] Uploading project information for library 1.0.3-20081106.131330-7 [INFO] Retrieving previous metadata from remote [INFO] Uploading repository metadata for: 'artifact miniweb:library' [INFO] Retrieving previous metadata from remote [INFO] Uploading repository metadata for: 'snapshot miniweb:library:1.0.3-SNAPSHOT' I need to get the build number - "7" in this case - from the upload task. I can't see a way for doing - am I blind or is it impossible at the moment? Phil. -- View this message in context: http://www.nabble.com/Hans%27-new-Maven-support-and-build-numbers-tp20360825p20360825.html Sent from the gradle-dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
