apache / apache/fluss

Dependencies could not be resolved when mvn clean .

Open
#1,861 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.1k
Forks
625
Avg merge
3d 14h
Merged PRs (30d)
97

Description

### Search before asking

- [x] I searched in the [issues](https://github.com/apache/fluss/issues) and found nothing similar.

### Fluss version

0.7.0 (latest release)

### Please describe the bug 🐞

Currently, when we run `mvn clean`, problem will occurs:

```shell
[ERROR] Plugin org.apache.fluss:fluss-protogen-maven-plugin:0.9-SNAPSHOT or one of its dependencies could not be resolved: Could not find artifact org.apache.fluss:fluss-protogen-maven-plugin:jar:0.9-SNAPSHOT in tbmirror (http://mvnrepo.alibaba-inc.com/mvn/repository) ->
```

```shell
Failed to execute goal on project fluss-dist: Could not resolve dependencies for project org.apache.fluss:fluss-dist:jar:0.9-SNAPSHOT: The following artifacts could not be resolved: org.apache.fluss:fluss-server:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-fs-hdfs:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-fs-oss:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-fs-s3:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-metrics-prometheus:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-metrics-jmx:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-lake-paimon:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-lake-iceberg:jar:0.9-SNAPSHOT, org.apache.fluss:fluss-lake-lance:jar:0.9-SNAPSHOT: Could not find artifact org.apache.fluss:fluss-server:jar:0.9-SNAPSHOT in tbmirror
```

It's no need to download dependencies when clean.

### Solution

_No response_

### Are you willing to submit a PR?

- [x] I'm willing to submit a PR!

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the failure with `mvn clean` in the Fluss 0.7.0 source tree and inspect the Maven project configuration for why clean resolves the 0.9-SNAPSHOT plugin and module artifacts. Done means `mvn clean` completes without attempting to download those dependencies.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.