From df568c032e4a25c67c941303a01f7ec963f66223 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 2 Apr 2024 17:56:12 +0800 Subject: [PATCH] Release athena to Maven central --- athena-core/pom.xml | 17 +------- .../athena-example-books/Dockerfile | 2 +- athena-examples/athena-example-books/pom.xml | 2 +- .../athena-examples-acceptance-tests/pom.xml | 2 +- athena-examples/pom.xml | 2 +- .../athena-filestore-swift/pom.xml | 2 +- athena-filestore/pom.xml | 2 +- .../athena-metastore-graphql/pom.xml | 2 +- athena-metastore/pom.xml | 2 +- athena-system-config/pom.xml | 2 +- pom.xml | 40 ++++++++++++++++++- 11 files changed, 48 insertions(+), 27 deletions(-) diff --git a/athena-core/pom.xml b/athena-core/pom.xml index 4874a436b..98deca90b 100644 --- a/athena-core/pom.xml +++ b/athena-core/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-parent-pom - 1.0-SNAPSHOT + 0.0.1 athena-core @@ -95,21 +95,6 @@ org.apache.maven.plugins maven-jar-plugin - - - **/userConfig.properties - **/applicationConfig.properties - **/testApplicationConfig.properties - - - - - test-jar - - test-jar - - - diff --git a/athena-examples/athena-example-books/Dockerfile b/athena-examples/athena-example-books/Dockerfile index fd710538f..ca94397b9 100644 --- a/athena-examples/athena-example-books/Dockerfile +++ b/athena-examples/athena-example-books/Dockerfile @@ -16,7 +16,7 @@ FROM jetty:jdk17 LABEL maintainer="Jiaqi (Jack) Liu" LABEL maintainer-email="jack20220723@gmail.com" -ARG ATHENA_VERSION=1.0-SNAPSHOT +ARG ATHENA_VERSION=0.0.1 ENV JETTY_WEBAPPS_DIR /var/lib/jetty/webapps diff --git a/athena-examples/athena-example-books/pom.xml b/athena-examples/athena-example-books/pom.xml index 3dac13ba4..93be2a98d 100644 --- a/athena-examples/athena-example-books/pom.xml +++ b/athena-examples/athena-example-books/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-examples - 1.0-SNAPSHOT + 0.0.1 athena-example-books diff --git a/athena-examples/athena-examples-acceptance-tests/pom.xml b/athena-examples/athena-examples-acceptance-tests/pom.xml index 51fcdf659..5c302c47c 100644 --- a/athena-examples/athena-examples-acceptance-tests/pom.xml +++ b/athena-examples/athena-examples-acceptance-tests/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-examples - 1.0-SNAPSHOT + 0.0.1 athena-examples-acceptance-tests diff --git a/athena-examples/pom.xml b/athena-examples/pom.xml index ae27e2ac2..e7f0a68f2 100644 --- a/athena-examples/pom.xml +++ b/athena-examples/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-parent-pom - 1.0-SNAPSHOT + 0.0.1 athena-examples diff --git a/athena-filestore/athena-filestore-swift/pom.xml b/athena-filestore/athena-filestore-swift/pom.xml index 817a04a5d..46a705f4a 100644 --- a/athena-filestore/athena-filestore-swift/pom.xml +++ b/athena-filestore/athena-filestore-swift/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-filestore - 1.0-SNAPSHOT + 0.0.1 athena-filestore-swift diff --git a/athena-filestore/pom.xml b/athena-filestore/pom.xml index 4f06acfaf..53074c159 100644 --- a/athena-filestore/pom.xml +++ b/athena-filestore/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-parent-pom - 1.0-SNAPSHOT + 0.0.1 athena-filestore diff --git a/athena-metastore/athena-metastore-graphql/pom.xml b/athena-metastore/athena-metastore-graphql/pom.xml index 02719c54a..21a1ac707 100644 --- a/athena-metastore/athena-metastore-graphql/pom.xml +++ b/athena-metastore/athena-metastore-graphql/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-metastore - 1.0-SNAPSHOT + 0.0.1 athena-metastore-graphql diff --git a/athena-metastore/pom.xml b/athena-metastore/pom.xml index 4e649957a..a34bc6109 100644 --- a/athena-metastore/pom.xml +++ b/athena-metastore/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-parent-pom - 1.0-SNAPSHOT + 0.0.1 athena-metastore diff --git a/athena-system-config/pom.xml b/athena-system-config/pom.xml index a3eed1744..ec3e56487 100644 --- a/athena-system-config/pom.xml +++ b/athena-system-config/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-parent-pom - 1.0-SNAPSHOT + 0.0.1 athena-system-config diff --git a/pom.xml b/pom.xml index ff1171bb1..08dfd0daf 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ com.paiondata.athena athena-parent-pom - 1.0-SNAPSHOT + 0.0.1 pom Athena: Parent POM @@ -48,7 +48,7 @@ 17 17 - 1.0-SNAPSHOT + 0.0.1 3.0.1 1.0 1.7.25 @@ -454,6 +454,20 @@ + + org.apache.maven.plugins + maven-source-plugin + 3.1.0 + + + attach-sources + verify + + jar-no-fork + + + + @@ -544,6 +558,13 @@ org.apache.maven.plugins maven-jar-plugin ${version.maven.jar.plugin} + + + **/userConfig.properties + **/applicationConfig.properties + **/testApplicationConfig.properties + + @@ -572,6 +593,10 @@ org.apache.maven.plugins maven-javadoc-plugin + + org.apache.maven.plugins + maven-source-plugin + @@ -588,6 +613,17 @@ org.apache.maven.plugins maven-failsafe-plugin + + + org.sonatype.central + central-publishing-maven-plugin + 0.4.0 + true + + central + true + +