Skip to content

Commit

Permalink
[hotfix][docs] Adds clean to Maven command in README file
Browse files Browse the repository at this point in the history
The build should be done on a fresh checkout of the flink-shaded repository. Otherwise,
we might run into errors in the jackson submodule: Error creating shaded jar: duplicate
entry: META-INF/services/org.apache.flink.shaded.jackson2.com.fasterxml.jackson.core.JsonFactory

I didn't check where this error is coming from. But building the sources based
on a clean version sounds reasonable in general.
  • Loading branch information
XComp authored and MartijnVisser committed Oct 23, 2023
1 parent 4b62d5f commit 2eff4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ When using these dependencies it is recommended to work directly against the sha

We currently do not release jars containing the shaded sources due to the unanswered legal questions raised [here](https://github.com/apache/flink-shaded/issues/25).

However, it is possible to build these jars locally by cloning the repository and calling `mvn package -Dshade-sources`.
However, it is possible to build these jars locally by cloning the repository and calling `mvn clean package -Dshade-sources`.

## About

Expand Down

0 comments on commit 2eff4e2

Please sign in to comment.