You probably try to upload not-snapshot artifact to snapshots-only repository in artifactory. What is your target repo?
On Thu, Mar 10, 2011 at 16:02, Donal Mc Namee <donal.mcna...@vhi.ie> wrote: > Hi, > > > > I have a Gradle build that’s publishing artifacts to an Artifactory > repository. > > This all works fine when I specify that the artifact is a SNAPSHOT. > > However, if I declare the version as final (i.e. not a SNAPSHOT) the > ‘uploadArchives’ tasks with the following error: > > > > 12:10:06.145 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: Error > deploy > > ing artifact 'ie.vhi.ea:ea_app_common:jar': Error deploying artifact: > Failed to > > transfer file: > http://vmsys124:8082/artifactory/libs-release-local/ie/vhi/ea/ea_ > > app_common/1.1/ea_app_common-1.1.jar. Return code is: 405 > > > > Looking on the net for similar issues I found this thread: > http://archive.codehaus.org/lists/org.codehaus.gradle.user/msg/a0a50dbb0904160845m6c5c4a20h42872fe100631...@mail.gmail.com > > Has anyone any insight as to why I’m having this problem? > > > > Gradle version: 1.0-milestone-1 > > > > Thanks, > > Donal. > -- Best Regards, Baruch