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 (#184)
  • Loading branch information
wuchong authored Dec 17, 2024
1 parent e48c6ff commit c770262
Show file tree
Hide file tree
Showing 14 changed files with 10 additions and 24 deletions.
21 changes: 6 additions & 15 deletions fluss-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
<packaging>jar</packaging>

<dependencies>

<!-- Add Fluss dependencies to make fluss-dist compiled after all modules -->
<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-server</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>

<!-- start Fluss filesystem plugin -->
<dependency>
<groupId>com.alibaba.fluss</groupId>
<artifactId>fluss-fs-oss</artifactId>
Expand Down Expand Up @@ -196,10 +196,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 +247,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 @@ -55,8 +55,3 @@ appender.rolling.strategy.max=${env:MAX_LOG_FILE_NUMBER:-10}
# Suppress the irrelevant (wrong) warnings from the Netty channel handler
logger.netty.name=org.jboss.netty.channel.DefaultChannelPipeline
logger.netty.level=OFF
# don't print jindo log
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
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 c770262

Please sign in to comment.