Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Release athena to Maven central
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Apr 2, 2024
1 parent 21113be commit df568c0
Show file tree
Hide file tree
Showing 11 changed files with 48 additions and 27 deletions.
17 changes: 1 addition & 16 deletions athena-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-core</artifactId>
Expand Down Expand Up @@ -95,21 +95,6 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/userConfig.properties</exclude>
<exclude>**/applicationConfig.properties</exclude>
<exclude>**/testApplicationConfig.properties</exclude>
</excludes>
</configuration>
<executions>
<execution>
<id>test-jar</id>
<goals>
<goal>test-jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion athena-examples/athena-example-books/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion athena-examples/athena-example-books/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-examples</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-example-books</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-examples/athena-examples-acceptance-tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-examples</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-examples-acceptance-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-examples</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-filestore/athena-filestore-swift/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-filestore</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-filestore-swift</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-filestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-filestore</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-metastore/athena-metastore-graphql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-metastore</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-metastore-graphql</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-metastore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-metastore</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion athena-system-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.paiondata.athena</groupId>
<artifactId>athena-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
</parent>

<artifactId>athena-system-config</artifactId>
Expand Down
40 changes: 38 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.paiondata.athena</groupId>
<artifactId>athena-parent-pom</artifactId>
<version>1.0-SNAPSHOT</version>
<version>0.0.1</version>
<packaging>pom</packaging>

<name>Athena: Parent POM</name>
Expand Down Expand Up @@ -48,7 +48,7 @@
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>

<version.athena>1.0-SNAPSHOT</version.athena>
<version.athena>0.0.1</version.athena>
<version.validation.api>3.0.1</version.validation.api>
<version.jcip.annotations>1.0</version.jcip.annotations>
<version.slf4j>1.7.25</version.slf4j>
Expand Down Expand Up @@ -454,6 +454,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>verify</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Groovy Spock -->
<plugin>
Expand Down Expand Up @@ -544,6 +558,13 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>${version.maven.jar.plugin}</version>
<configuration>
<excludes>
<exclude>**/userConfig.properties</exclude>
<exclude>**/applicationConfig.properties</exclude>
<exclude>**/testApplicationConfig.properties</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</pluginManagement>
Expand Down Expand Up @@ -572,6 +593,10 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
</plugin>

<!-- Mandatory plugins for using Spock -->
<plugin>
Expand All @@ -588,6 +613,17 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-failsafe-plugin</artifactId>
</plugin>

<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.4.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
</configuration>
</plugin>
</plugins>
</build>

Expand Down

0 comments on commit df568c0

Please sign in to comment.