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

Prepare poms for release #59

Merged

Conversation

miszobi
Copy link
Contributor

@miszobi miszobi commented Aug 16, 2016

This:

One-time setup before releasing

  • Set up an account with Sonatype as documented here
  • Make sure the ticket is marked as Resolved before proceeding
  • Add the account credentials to your $HOME/.m2/settings.xml:
<settings>
...
   <servers>
     <server>
       <id>sonatype-nexus-staging</id>
       <username>sonatype-nexus-userid</username>
       <password>sonatype-nexus-password</password>
     </server>
     <server>
       <id> sonatype-nexus-snapshots</id>
       <username>sonatype-nexus-userid</username>
       <password>sonatype-nexus-password</password>
     </server>
...
  • install gpg, generate a key-pair (gpg --gen-key, then gpg2 --list-keys to get your key id), send your public key to the keyserver (gpg2 --keyserver hkp://pool.sks-keyservers.net --send-keys KEYID) - see detailed instructions

Doing the release

Run mvn clean release:prepare release:perform.

  • This will ask for the version number to be released, and the next development version number, defaults should be fine
  • it'll ask a number of times for your gpg key passphrase to sign all the artifacts
  • tag the release in git and increment the version number
  • deploy the artifacts to sonatype

Artifacts will be deployed to the sonatype staging area. Go to https://oss.sonatype.org/ and follow the instructions to locate and close the staging repository for the release, to release the artifacts to central.

<artifactId>java-saml</artifactId>

<properties>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inherited from parent, were duplicated here.

@pitbulk
Copy link
Contributor

pitbulk commented Aug 16, 2016

Thanks for this contribution. I will follow your steps.

@pitbulk pitbulk merged commit 525ba97 into SAML-Toolkits:v2.0.0 Aug 16, 2016
@pitbulk
Copy link
Contributor

pitbulk commented Aug 16, 2016

I created the Jira account and the project: https://issues.sonatype.org/browse/OSSRH-24376

@pitbulk
Copy link
Contributor

pitbulk commented Aug 16, 2016

The ticket is now marked as "RESOLVED" but before release I want to provide to the toolkit some documentation

@miszobi miszobi mentioned this pull request Nov 23, 2016
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