Closed mkristian closed 9 years ago
Thanks Kristian, so I'll try this out with the next 1.1.17 release, which I'll might do if #186 turns out "doable".
assuming @headius gets me rights under org.jruby sonatype repository all should be fine, but just to double confirm with the codehaus repo completely gone, no users are likely to complain that a patch release "suddenly" got deployed elsewhere, right (since it kind of only semi-worked anyways) ?
I am pretty sure no-one will miss the codehaus repo - we switch other project from codehaus to oss.sonatype like jruby itself ;)
org.jruby groupId will as well.
finally, set this up as suggested ... on 1.1-stable ... as expected I'm no longer able to do releases ;(
Downloading: https://oss.sonatype.org/content/repositories/snapshots/org/jruby/rack/jruby-rack/1.1.17-SNAPSHOT/maven-metadata.xml
Downloaded: https://oss.sonatype.org/content/repositories/snapshots/org/jruby/rack/jruby-rack/1.1.17-SNAPSHOT/maven-metadata.xml (777 B at 0.5 KB/sec)
Uploading: https://oss.sonatype.org/content/repositories/snapshots/org/jruby/rack/jruby-rack/1.1.17-SNAPSHOT/jruby-rack-1.1.17-20141227.192825-2.jar
Uploading: https://oss.sonatype.org/content/repositories/snapshots/org/jruby/rack/jruby-rack/1.1.17-SNAPSHOT/jruby-rack-1.1.17-20141227.192825-2.pom
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:09 min
[INFO] Finished at: 2014-12-27T20:28:27+01:00
[INFO] Final Memory: 24M/336M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project jruby-rack: Failed to deploy artifacts: Could not transfer artifact org.jruby.rack:jruby-rack:jar:1.1.17-20141227.192825-2 from/to ossrh (https://oss.sonatype.org/content/repositories/snapshots): Access denied to: https://oss.sonatype.org/content/repositories/snapshots/org/jruby/rack/jruby-rack/1.1.17-SNAPSHOT/jruby-rack-1.1.17-20141227.192825-2.jar, ReasonPhrase: Forbidden. -> [Help 1]
tried a mvn deploy
snapshot release ... would be great if this worked, who am I to ask to get it working ?
@headius is the one to ask. the usual procedure is to create an issue on https://issues.sonatype.org/browse/OSSRH/ and ask for permissions to push groupId 'org.jruby.rack'
@mkristian ok thanks, I thought when someone already has permission he/she can grant another ...
needed to do the "install gems" differently since it conflicted with the main artifact.
if snapshot version
$mvn deploy
will deploy the artifact to https://oss.sonatype.org/content/repositories/snapshots/ and the released version will go to a staging repository on https://oss.sonatype.org/content/repositories/it is also possible to use the maven release mantra: