Skip to content

Commit

Permalink
Update maven release steps.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Sep 27, 2012
1 parent 72aade4 commit 14717ce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion www/PublishingToMavenCentral.md
Expand Up @@ -27,12 +27,14 @@ One Time
...
<settings>

Because we are still deploying to maven repositories via java.net, so see [Java.net Maven Repository Usage Guide](http://java.net/projects/maven2-repository/pages/MigrationAndCleanupRelatedDocumentation).
Because we are still deploying to maven repositories via java.net, see [Java.net Maven Repository Usage Guide](http://java.net/projects/maven2-repository/pages/MigrationAndCleanupRelatedDocumentation) for more info.

Every Time
----------

* Update version numbers in [pom-jna.xml](https://github.com/twall/jna/blob/master/pom-jna.xml) and [pom-platform.xml](https://github.com/twall/jna/blob/master/pom-platform.xml), if needed.
This should already be done as per [Releasing JNA](https://github.com/twall/jna/blob/master/www/ReleasingJNA.md).
The &lt;version> tags in pom-jna.xml and pom-platform.xml should match the version (jna.version) in build.xml.
* Run `ant stage`. This uploads current checkout to maven central.
* Follow steps from [release it](https://docs.sonatype.org/display/Repository/Sonatype+OSS+Maven+Repository+Usage+Guide#SonatypeOSSMavenRepositoryUsageGuide-8a.ReleaseIt)

0 comments on commit 14717ce

Please sign in to comment.