Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes for publishing to Sonatype OSS / Central #22

Merged
merged 1 commit into from
Apr 15, 2014
Merged

Changes for publishing to Sonatype OSS / Central #22

merged 1 commit into from
Apr 15, 2014

Conversation

briantopping
Copy link

Greetings, thanks for the quick merge of my previous pull request. This pull request allows for all the com.wandoulabs projects to be pushed to Sonatype OSS, which in turn replicates to Maven Central and becomes accessible to SBT. Please see https://issues.sonatype.org/browse/OSSRH-9455:

To use this, first add a request on the ticket for commit rights. Then, create a set of credentials in a file named ~/.ivy2/.wandou-credentials. The credentials are simple properties that look like this:

realm=Sonatype Nexus Repository Manager
host=oss.sonatype.org
user=topping
password=**********

Once you create these credentials, the changes in this pull request will allow you to 'sbt publish'. If the version ends in -SNAPSHOT, the artifacts will be pushed to the snapshot repository. If not, the artifacts will be considered to be a release and a release staging area will be created.

Thanks! Looking forward to your work showing up in Central!

@briantopping
Copy link
Author

Oh, please don't forget that once this is set up, you'll want to change Travis to also do a 'sbt publish' so the snapshots are kept up to date. At that point, it will be simple for people to use https://oss.sonatype.org/content/repositories/snapshots to get the most current code.

@cowboy129
Copy link
Collaborator

Nice! Thanks for contributing. We'll merge this after being granted the permissions to the sonatype repository.

dcaoyuan added a commit that referenced this pull request Apr 15, 2014
Changes for publishing to Sonatype OSS / Central
@dcaoyuan dcaoyuan merged commit ffe83eb into dcaoyuan:master Apr 15, 2014
@briantopping
Copy link
Author

My pleasure! Note that the repository will also work for your other projects. Cheers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants