From 2c721376ffd9a774b612fffec4e752d87f050d0e Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Sat, 20 Aug 2016 17:37:05 +0200 Subject: [PATCH 1/2] necessary adaptions to publish to MavenCentral Using these guides: - http://central.sonatype.org/pages/requirements.html#sufficient-metadata - http://central.sonatype.org/pages/apache-maven.html#deploying-to-ossrh-with-apache-maven-introduction --- pom.xml | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 65 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 04df2e6..6c0796f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,6 +5,7 @@ 0.12.1.Final-SNAPSHOT EditorConfig Core + EditorConfig core library ported to Java http://editorconfig.org 2014 @@ -15,6 +16,21 @@ + + + Dennis Ushakov + dennis.ushakov@gmail.com + JetBrains + https://github.com/denofevil + + + Peter Palage + ppalaga@redhat.com + Red Hat + https://github.com/ppalaga + + + EditorConfig Group @@ -47,6 +63,13 @@ true + + + ossrh + https://oss.sonatype.org/content/repositories/snapshots + + + @@ -94,14 +117,54 @@ org.sonatype.plugins nexus-staging-maven-plugin - 1.6.5 + 1.6.7 true ossrh https://oss.sonatype.org/ - true + false + + org.apache.maven.plugins + maven-source-plugin + 2.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.9.1 + + + attach-javadocs + + jar + + + + + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + From 2c1ceb6bf6a1b5cf7fba4d65117e7d7fd495d7bf Mon Sep 17 00:00:00 2001 From: Simon Templer Date: Sat, 20 Aug 2016 17:44:42 +0200 Subject: [PATCH 2/2] don't change auto-release setting --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6c0796f..7bcd8ab 100644 --- a/pom.xml +++ b/pom.xml @@ -122,7 +122,7 @@ ossrh https://oss.sonatype.org/ - false + true