From 2da5c4499de21018d0b6e88986904cd0c6b86b06 Mon Sep 17 00:00:00 2001 From: Stanley Shyiko Date: Mon, 5 Sep 2016 23:14:28 -0700 Subject: [PATCH] Fixed deployment to Maven Central --- ktlint-core/pom.xml | 48 +++++++++++++++++++++++++++++++++ ktlint-ruleset-standard/pom.xml | 48 +++++++++++++++++++++++++++++++++ ktlint-test/pom.xml | 48 +++++++++++++++++++++++++++++++++ ktlint/pom.xml | 45 +++++++++++++++++++++++++++++++ pom.xml | 32 ---------------------- 5 files changed, 189 insertions(+), 32 deletions(-) diff --git a/ktlint-core/pom.xml b/ktlint-core/pom.xml index 931886b8c6..ed7a9735b8 100644 --- a/ktlint-core/pom.xml +++ b/ktlint-core/pom.xml @@ -42,4 +42,52 @@ ${project.basedir}/src/test/kotlin + + + release + + + deploy + maven-central + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + attach-javadocs + verify + + jar + + + javadoc + ${basedir}/javadoc + + + + + + + + + diff --git a/ktlint-ruleset-standard/pom.xml b/ktlint-ruleset-standard/pom.xml index a8db4250f5..f4b616e4c7 100644 --- a/ktlint-ruleset-standard/pom.xml +++ b/ktlint-ruleset-standard/pom.xml @@ -49,4 +49,52 @@ ${project.basedir}/src/test/kotlin + + + release + + + deploy + maven-central + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + attach-javadocs + verify + + jar + + + javadoc + ${basedir}/javadoc + + + + + + + + + diff --git a/ktlint-test/pom.xml b/ktlint-test/pom.xml index 3e92e1374d..5a41ded4ba 100644 --- a/ktlint-test/pom.xml +++ b/ktlint-test/pom.xml @@ -31,4 +31,52 @@ ${project.basedir}/src/test/kotlin + + + release + + + deploy + maven-central + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + attach-javadocs + verify + + jar + + + javadoc + ${basedir}/javadoc + + + + + + + + + diff --git a/ktlint/pom.xml b/ktlint/pom.xml index 4e3676a9c4..bbb750fc7b 100644 --- a/ktlint/pom.xml +++ b/ktlint/pom.xml @@ -151,6 +151,51 @@ + + release + + + deploy + maven-central + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.0.1 + + + attach-sources + verify + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-jar-plugin + 3.0.2 + + + attach-javadocs + verify + + jar + + + javadoc + ${basedir}/javadoc + + + + + + + capsule diff --git a/pom.xml b/pom.xml index 1a5f4e6f8d..edd917459d 100644 --- a/pom.xml +++ b/pom.xml @@ -170,38 +170,6 @@ clean deploy - - org.apache.maven.plugins - maven-source-plugin - 3.0.1 - - - attach-sources - verify - - jar-no-fork - - - - - - org.apache.maven.plugins - maven-jar-plugin - 3.0.2 - - - attach-javadocs - verify - - jar - - - javadoc - ${basedir}/javadoc - - - - org.apache.maven.plugins maven-gpg-plugin