diff --git a/README.md b/README.md index 19614ec..11c2184 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,19 @@ Contributing 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request +Releasing +--------- + +Java 1.8 must be used to run integration tests at the moment. + +Deploy snapshots when the version ends with "-SNAPSHOT" using `mvn deploy`. + +Releasing requires the version to not end with "-SNAPSHOT" and you should specify the "-Prelease" profile to sign the artifacts. + +``` +mvn deploy -Prelease +``` + meta-fu ------- diff --git a/pom.xml b/pom.xml index 90b4104..8a03d03 100644 --- a/pom.xml +++ b/pom.xml @@ -1,11 +1,6 @@ 4.0.0 - - org.sonatype.oss - oss-parent - 9 - org.jruby.maven mavengem 2.0.3-SNAPSHOT @@ -54,33 +49,79 @@ 9.4.5.0 - - - - false - - - true - - sonatype - https://oss.sonatype.org/content/repositories/snapshots/ - - - - - - - false - - - true - - sonatype - https://oss.sonatype.org/content/repositories/snapshots/ - - + + + release + + + + maven-gpg-plugin + 3.2.8 + + + sign-artifacts + verify + + sign + + + + + + --pinentry-mode + loopback + + + + + + + + + + maven-source-plugin + 3.4.0 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.5.5 + + + maven-javadoc-plugin + 3.12.0 + + + attach-javadocs + + jar + + + + + none + + + + org.sonatype.central + central-publishing-maven-plugin + 0.10.0 + true + + central + + + @@ -102,10 +143,9 @@ maven-compiler-plugin - 3.3 + 3.15.0 - 8 - 8 + 8