Skip to content

Commit

Permalink
[dist] Deploy fluss-dist package with start scripts and config files …
Browse files Browse the repository at this point in the history
…included
  • Loading branch information
wuchong committed Dec 14, 2024
1 parent 1dcc2af commit 61aa73c
Show file tree
Hide file tree
Showing 14 changed files with 8 additions and 52 deletions.
52 changes: 4 additions & 48 deletions fluss-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,41 +30,6 @@

<dependencies>

<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-server</artifactId>
<version>${project.version}</version>
</dependency>

<!-- start Fluss filesystem plugin -->
<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-fs-oss</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-fs-s3</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-lakehouse-paimon</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-lakehouse-cli</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<!-- Concrete logging framework - we add this only here (and not in the
root POM) to not tie the projects to one specific framework and make
it easier for users to swap logging frameworks -->
Expand Down Expand Up @@ -196,10 +161,10 @@
<shadedArtifactAttached>false</shadedArtifactAttached>
<finalName>${project.artifactId}-${project.version}</finalName>
<artifactSet>
<excludes>
<!-- log4j 2 is bundled separately from the fluss-server jar -->
<exclude>org.apache.logging.log4j:*</exclude>
</excludes>
<includes>
<!-- only include log4j-api to package source and javadoc to make sonatype happy -->
<include>org.apache.logging.log4j:log4j-api</include>
</includes>
</artifactSet>
</configuration>
</execution>
Expand Down Expand Up @@ -247,15 +212,6 @@
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.4</version><!--$NO-MVN-MAN-VER$-->
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
6 changes: 3 additions & 3 deletions fluss-dist/src/main/assemblies/bin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,22 @@
<fileSets>
<!-- copy start scripts -->
<fileSet>
<directory>src/main/fluss-bin/bin</directory>
<directory>src/main/resources/bin</directory>
<outputDirectory>bin</outputDirectory>
<fileMode>0755</fileMode>
</fileSet>


<!-- copy default configuration -->
<fileSet>
<directory>src/main/fluss-bin/conf</directory>
<directory>src/main/resources/conf</directory>
<outputDirectory>conf</outputDirectory>
<fileMode>0644</fileMode>
</fileSet>

<!-- create an empty log directory -->
<fileSet>
<directory>src/main/fluss-bin/</directory>
<directory>src/main/resources/</directory>
<outputDirectory>log</outputDirectory>
<fileMode>0644</fileMode>
<excludes>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ logger.netty.level=OFF
logger.jindo_fsStats.name=com.aliyun.jindodata.common.FsStats
logger.jindo_fsStats.level=OFF
logger.jindo_jnative.name=com.aliyun.jindodata.jnative.NativeLogger
logger.jindo_jnative.level=OFF
logger.jindo_jnative.level=OFF

0 comments on commit 61aa73c

Please sign in to comment.