diff --git a/build.xml b/build.xml
index cdf32da5ed..daab651da5 100644
--- a/build.xml
+++ b/build.xml
@@ -120,10 +120,10 @@
-
-
-
-
+
+
+
+
diff --git a/pom-jna-platform.xml b/pom-jna-platform.xml
index 8a349f2843..c4d29b625f 100644
--- a/pom-jna-platform.xml
+++ b/pom-jna-platform.xml
@@ -40,6 +40,14 @@
Owner
+
+ mblaesing@doppel-helix.eu
+ Matthias Bläsing
+ https://github.com/matthiasblaesing/
+
+ Developer
+
+
diff --git a/pom-jna.xml b/pom-jna.xml
index f3addd324e..54d63ce18b 100644
--- a/pom-jna.xml
+++ b/pom-jna.xml
@@ -40,6 +40,14 @@
Owner
+
+ mblaesing@doppel-helix.eu
+ Matthias Bläsing
+ https://github.com/matthiasblaesing/
+
+ Developer
+
+
\ No newline at end of file
diff --git a/www/PublishingToMavenCentral.md b/www/PublishingToMavenCentral.md
index 5e9b0aed35..9c19a3e77e 100644
--- a/www/PublishingToMavenCentral.md
+++ b/www/PublishingToMavenCentral.md
@@ -4,30 +4,31 @@ Publishing JNA to Maven Central
One Time
--------
+* Create an account in the [sonatype jira](https://issues.sonatype.org/secure/Signup!default.jspa)
+* Get the account enabled for publishing to the net.java.dev.jna groupId
+ (contact an existing uploader for this)
* Set up your gpg keys as described [here](http://central.sonatype.org/pages/working-with-pgp-signatures.html). Make sure you distribute your public key.
-* Make sure you have a settings.xml file (in directory: ${user.home}/.m2/). For example:
+* Make sure you have a settings.xml file (in directory: ${user.home}/.m2/).
+ For example (Replace *myossrhuser* and *myossrhpwd* with the account credentials):
...
...
-
- snapshots.java.net
- myjavanetuser
- myjavanetpwd
-
-
- staging.java.net
- myjavanetuser
- myjavanetpwd
+ oss.sonatype.org
+ myossrhuser
+ myossrhpwd
...
...
- 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.
+ The binaries are hosted in the Sonatype OSSRH (OSS Repository Hosting) system,
+ and mirrored from there to maven central.
+
+ See [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more info.
Publish Snapshot
----------------
@@ -37,9 +38,9 @@ Publish Snapshot
Before doing a full jna release, we can publish a development SNAPSHOT of the "next" release for people to test. The
SNAPSHOT will be published in the staging repository:
- https://maven.java.net/content/repositories/snapshots/
+ [https://oss.sonatype.org/content/repositories/snapshots/](https://oss.sonatype.org/content/repositories/snapshots/)
-see: https://maven.java.net/content/repositories/snapshots/net/java/dev/jna/ for the various jars.
+see: [https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/](https://oss.sonatype.org/content/repositories/snapshots/net/java/dev/jna/) for the various jars.
To publish a development SNAPSHOT do the following:
@@ -52,10 +53,8 @@ full release is performed).
Publish Release
---------------
-* Verify the <version> tags in [pom-jna.xml](https://github.com/java-native-access/jna/blob/master/pom-jna.xml) and [pom-jna-platform.xml](https://github.com/java-native-access/jna/blob/master/pom-jna-platform.xml)
+* Verify the <version> tags in [pom-jna.xml](https://github.com/java-native-access/jna/blob/master/pom-jna.xml)
+ and [pom-jna-platform.xml](https://github.com/java-native-access/jna/blob/master/pom-jna-platform.xml)
match the version (jna.version) in [build.xml](https://github.com/java-native-access/jna/blob/master/build.xml).
-* Run `ant -Dmaven-release=true stage`. This uploads current checkout to [maven.java.net](https://maven.java.net).
-* Follow steps from [Releasing the Deployment](http://central.sonatype.org/pages/releasing-the-deployment.html).
- Note that the releases are managed from [maven.java.net](https://maven.java.net).
-
-
+* Run `ant -Dmaven-release=true stage`. This uploads current checkout to [oss.sonatype.org](https://oss.sonatype.org).
+* Follow steps from [Releasing the Deployment](http://central.sonatype.org/pages/releasing-the-deployment.html).
\ No newline at end of file