From c312bf196c13a7b6477de4293aa49b06f77003b9 Mon Sep 17 00:00:00 2001 From: Pasha Finkelshteyn Date: Thu, 13 Aug 2020 09:54:25 +0300 Subject: [PATCH] =?UTF-8?q?chore:=20=F0=9F=A4=96=20Changes=20to=20correspo?= =?UTF-8?q?nd=20to=20maven=20central=20requirements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/pom.xml | 8 ++++ examples/pom.xml | 9 +++- kotlin-spark-api/pom.xml | 32 ++++++++++++- .../jetbrains/spark/api/KotlinSparkTest.kt | 47 ------------------- pom.xml | 14 ++++++ 5 files changed, 61 insertions(+), 49 deletions(-) delete mode 100644 kotlin-spark-api/src/test/kotlin/org/jetbrains/spark/api/KotlinSparkTest.kt diff --git a/core/pom.xml b/core/pom.xml index 622c5f2d..7304f41c 100644 --- a/core/pom.xml +++ b/core/pom.xml @@ -41,6 +41,7 @@ 4.4.0 + compile compile testCompile @@ -52,6 +53,13 @@ + + docjar + + doc-jar + + pre-integration-test + diff --git a/examples/pom.xml b/examples/pom.xml index 7f4f5c30..441c95db 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -86,7 +86,14 @@ true - + + org.apache.maven.plugins + maven-deploy-plugin + 2.8.2 + + true + + diff --git a/kotlin-spark-api/pom.xml b/kotlin-spark-api/pom.xml index 64be3902..53aad718 100644 --- a/kotlin-spark-api/pom.xml +++ b/kotlin-spark-api/pom.xml @@ -121,6 +121,9 @@ org.apache.maven.plugins maven-surefire-plugin 3.0.0-M5 + + native + org.jetbrains.dokka @@ -131,11 +134,19 @@ + dokka - javadocJar + dokka pre-site + + javadocjar + + javadocJar + + pre-integration-test + @@ -146,6 +157,25 @@ ${project.basedir}/allure-results + + org.jacoco + jacoco-maven-plugin + 0.8.5 + + + + prepare-agent + + + + report + prepare-package + + report + + + + diff --git a/kotlin-spark-api/src/test/kotlin/org/jetbrains/spark/api/KotlinSparkTest.kt b/kotlin-spark-api/src/test/kotlin/org/jetbrains/spark/api/KotlinSparkTest.kt deleted file mode 100644 index 895c6eb4..00000000 --- a/kotlin-spark-api/src/test/kotlin/org/jetbrains/spark/api/KotlinSparkTest.kt +++ /dev/null @@ -1,47 +0,0 @@ -package org.jetbrains.spark.api/*- - * =LICENSE= - * Kotlin Spark API - * ---------- - * Copyright (C) 2019 - 2020 JetBrains - * ---------- - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - * =LICENSEEND= - */ -import io.kotest.core.spec.style.AnnotationSpec -import kotlin.reflect.typeOf - -@OptIn(ExperimentalStdlibApi::class) -class KotlinSparkTest : AnnotationSpec() { - @Test - fun simpleTest() { - val schema = schema(typeOf, String>>()) - println(schema) - } - - @Test - fun test1() { - data class Test(val a: T, val b: Pair) - - val schema = schema(typeOf>>()) - println(schema) - } - - @Test - fun test2() { - data class Test2(val vala2: T, val lista: List) - data class Test(val vala: T, val para: Pair>) - - val schema = schema(typeOf>>()) - println(schema) - } -} diff --git a/pom.xml b/pom.xml index 52424ceb..cec5eb05 100644 --- a/pom.xml +++ b/pom.xml @@ -60,6 +60,20 @@ + + org.apache.maven.plugins + maven-gpg-plugin + 1.5 + + + sign-artifacts + verify + + sign + + + + http://maven.apache.org