From d18378892da6b3fe79c27d1d61834d6410320b76 Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Wed, 27 Sep 2023 20:18:00 +0200 Subject: [PATCH 1/5] Add bom module Signed-off-by: Hongxin Liang --- flytekit-bom/pom.xml | 155 ++++++++++++++++++++++++++++++++ flytekit-examples-scala/pom.xml | 1 - flytekit-examples/pom.xml | 4 - flytekit-scala-tests/pom.xml | 1 - jflyte/pom.xml | 1 - pom.xml | 1 + 6 files changed, 156 insertions(+), 7 deletions(-) create mode 100644 flytekit-bom/pom.xml diff --git a/flytekit-bom/pom.xml b/flytekit-bom/pom.xml new file mode 100644 index 000000000..fe8c13fef --- /dev/null +++ b/flytekit-bom/pom.xml @@ -0,0 +1,155 @@ + + + + 4.0.0 + + org.flyte + flytekit-bom + 0.4.24-SNAPSHOT + + pom + + Flytekit - Bill of Materials + Flytekit Java is the Java/Scala SDK built on top of Flyte. + https://github.com/flyteorg/flytekit-java + + + + Apache License, Version 2.0 + https://www.apache.org/licenses/LICENSE-2.0 + repo + + + + + + flytekit + admin@flyte.org + Flyte + https://flyte.org + + + + + + + org.flyte + flytekit-api + ${project.version} + + + org.flyte + flytekit-jackson + ${project.version} + + + org.flyte + flytekit-java + ${project.version} + + + org.flyte + flytekit-scala_2.12 + ${project.version} + + + org.flyte + flytekit-scala_2.13 + ${project.version} + + + org.flyte + flytekit-scala-tests + ${project.version} + + + org.flyte + flytekit-testing + ${project.version} + + + org.flyte + flytekit-examples + ${project.version} + + + org.flyte + flytekit-examples-scala + ${project.version} + + + org.flyte + flytekit-local-engine + ${project.version} + + + org.flyte + flyteidl-protos + ${project.version} + + + org.flyte + jflyte-api + ${project.version} + + + org.flyte + jflyte-aws + ${project.version} + + + org.flyte + jflyte-google-cloud + ${project.version} + + + org.flyte + jflyte-utils + ${project.version} + + + org.flyte + jflyte + ${project.version} + + + org.flyte + integration-tests + ${project.version} + + + + + + scm:git:https://github.com/flyteorg/flytekit-java.git + scm:git:https://github.com/flyteorg/flytekit-java.git + HEAD + https://github.com/flyteorg/flytekit-java + + + + + ossrh + https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/ + + + ossrh + https://s01.oss.sonatype.org/content/repositories/snapshots + + + diff --git a/flytekit-examples-scala/pom.xml b/flytekit-examples-scala/pom.xml index 3d5e807b2..9795a0282 100644 --- a/flytekit-examples-scala/pom.xml +++ b/flytekit-examples-scala/pom.xml @@ -33,7 +33,6 @@ 2.13 2.13.10 - true true diff --git a/flytekit-examples/pom.xml b/flytekit-examples/pom.xml index a682f3ecf..6773fb371 100644 --- a/flytekit-examples/pom.xml +++ b/flytekit-examples/pom.xml @@ -29,10 +29,6 @@ Flytekit Java Examples Examples of Tasks, Workflows and Launch plans written in Java. - - true - - diff --git a/flytekit-scala-tests/pom.xml b/flytekit-scala-tests/pom.xml index 84e92e936..08b0b4ed2 100644 --- a/flytekit-scala-tests/pom.xml +++ b/flytekit-scala-tests/pom.xml @@ -36,7 +36,6 @@ 2.13 2.13.10 - true true diff --git a/jflyte/pom.xml b/jflyte/pom.xml index 6229bf285..d7deef1a7 100644 --- a/jflyte/pom.xml +++ b/jflyte/pom.xml @@ -34,7 +34,6 @@ ghcr.io/flyteorg/flytekit-java ${project.version} - true diff --git a/pom.xml b/pom.xml index c4ae8aca3..1549564a3 100644 --- a/pom.xml +++ b/pom.xml @@ -46,6 +46,7 @@ + flytekit-bom flytekit-api flytekit-jackson flytekit-java From 41fa10fe87dcfbeeb5c154bf6924e5924e292147 Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Thu, 28 Sep 2023 09:17:49 +0200 Subject: [PATCH 2/5] Configure spotless for bom as well Signed-off-by: Hongxin Liang --- flytekit-bom/pom.xml | 94 ++++++++++++++++++++++++++++++++++++-------- pom.xml | 1 + 2 files changed, 78 insertions(+), 17 deletions(-) diff --git a/flytekit-bom/pom.xml b/flytekit-bom/pom.xml index fe8c13fef..fe1d96e56 100644 --- a/flytekit-bom/pom.xml +++ b/flytekit-bom/pom.xml @@ -1,6 +1,6 @@ ]]> + + + + + UTF-8 + ${line.separator} + false + true + true + 2 + false + false + recommended_2008_06 + false + false + false + + + + + + + **/src/**.xml + + + + + + + + + + diff --git a/pom.xml b/pom.xml index 1549564a3..9e36aa785 100644 --- a/pom.xml +++ b/pom.xml @@ -95,6 +95,7 @@ 4.7.2 3.21.12 1.7.36 + 2.21.0 spotbugs-exclude.xml 2.19.1 From 498defc71a62ef062adcd29893edb83544b3e1f0 Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Thu, 28 Sep 2023 09:18:58 +0200 Subject: [PATCH 3/5] Run by default Signed-off-by: Hongxin Liang --- flytekit-bom/pom.xml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flytekit-bom/pom.xml b/flytekit-bom/pom.xml index fe1d96e56..66d3ec25a 100644 --- a/flytekit-bom/pom.xml +++ b/flytekit-bom/pom.xml @@ -211,5 +211,12 @@ + + + + com.diffplug.spotless + spotless-maven-plugin + + From 641aeeebba65a52f65348a2219ae2e2afebfd005 Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Thu, 28 Sep 2023 09:24:15 +0200 Subject: [PATCH 4/5] Set execution Signed-off-by: Hongxin Liang --- flytekit-bom/pom.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/flytekit-bom/pom.xml b/flytekit-bom/pom.xml index 66d3ec25a..03e688df0 100644 --- a/flytekit-bom/pom.xml +++ b/flytekit-bom/pom.xml @@ -208,6 +208,14 @@ + + + + check + + verify + + From 348ee433a40cc6eb05e0c0a4d9f7fde1d7589138 Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Thu, 28 Sep 2023 11:55:45 +0200 Subject: [PATCH 5/5] Release plugin Signed-off-by: Hongxin Liang --- flytekit-bom/pom.xml | 73 ++++++++++++++++++++++++++++++++++++++++++++ pom.xml | 1 + 2 files changed, 74 insertions(+) diff --git a/flytekit-bom/pom.xml b/flytekit-bom/pom.xml index 03e688df0..27925aee9 100644 --- a/flytekit-bom/pom.xml +++ b/flytekit-bom/pom.xml @@ -227,4 +227,77 @@ + + + + release + + + + + org.apache.maven.plugins + maven-gpg-plugin + 3.0.1 + + + sign-artifacts + + sign + + verify + + + --batch + --pinentry-mode + loopback + + + + + + + org.apache.maven.plugins + maven-source-plugin + 3.2.1 + + + attach-sources + + jar-no-fork + + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 3.3.1 + + 8 + all,-missing + + + + attach-javadocs + + jar + + + + + + org.sonatype.plugins + nexus-staging-maven-plugin + 1.6.8 + true + + ossrh + https://s01.oss.sonatype.org/ + true + + + + + + diff --git a/pom.xml b/pom.xml index 9e36aa785..4f6038fad 100644 --- a/pom.xml +++ b/pom.xml @@ -751,6 +751,7 @@ release +