Skip to content

Add all needed dependencies to fluss-dist #574

@loserwang1024

Description

@loserwang1024

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.5.0 (latest release)

Please describe the bug 🐞

Currently, fluss-dist/src/main/assemble/bin.xml, fluss-dist/src/main/assemble/plugin.xml,fluss-dist/src/main/assemble/opt.xml packages a bundle of dependencies.

Howerver, some dependencies lacks in pom.xml of fluss-dist. If we not run mvn clean install -DskipTests to build all the modules, but run mvn clean install -pl fluss-dist -am -DskipTests to build fluss-dist(and its dependencies) only. Error will occurs:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:3.6.0:single (plugins) on project fluss-dist: Failed to create assembly: Error adding file to archive: /fluss/fluss-dist/../fluss-metrics/fluss-metrics-prometheus/target/fluss-metrics-prometheus-0.6-SNAPSHOT.jar

Solution

Add all needed dependencies to fluss-dist

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions