resthub / resthub-spring-stack

RESThub Spring stack
http://resthub.org/spring-stack.html
Other
121 stars 66 forks source link

Deploy to Maven central repository #82

Closed sdeleuze closed 11 years ago

bclozel commented 12 years ago

Ready to work on this! See this issue for some details.

bclozel commented 12 years ago

https://oss.sonatype.org/content/repositories/snapshots/org/resthub/ 2.0-SNAPSHOT published on sonatype.

bclozel commented 11 years ago

Looks like maven-releasing a project with windows, git, github, gpg is not the easiest task. The following links explain how to achieve this:

So you have to use a SSH connection to git@github.com, because maven-release-plugin can't display password prompts. Basically, the Sonatype user guide says so for svn.

Doing so behind a company web proxy is a pretty bad idea, especially if it caches 404 HTTP responses, thus preventing you from properly pushing artifacts on a remote nexus. Also, you need to be allowed port 22 on a remote host, otherwise you won't be able to use the git@github connection.

Fun times.

sdeleuze commented 11 years ago

Ouch ! Perhaps we should stay with the semi manual mvn versions:set and not mvn release in order to at least just use github http connection ?

bclozel commented 11 years ago

Probably. But we'd have to manually sign (oh boy) and deploy artifacts (easy with the web interface).

bclozel commented 11 years ago

It is actually doable manually:

bclozel commented 11 years ago

The full automatic maven-release works with a bit of extra configuration.