You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ma...@apache.org on 2023/08/02 15:25:54 UTC

[flink-shaded] branch hotfix-clean-install-readme-fix created (now 0e4ffad)

This is an automated email from the ASF dual-hosted git repository.

mapohl pushed a change to branch hotfix-clean-install-readme-fix
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git


      at 0e4ffad  [hotfix][docs] Adds clean to Maven command in README file

This branch includes the following new commits:

     new 0e4ffad  [hotfix][docs] Adds clean to Maven command in README file

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[flink-shaded] 01/01: [hotfix][docs] Adds clean to Maven command in README file

Posted by ma...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

mapohl pushed a commit to branch hotfix-clean-install-readme-fix
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git

commit 0e4ffad3022740b0405312155cd179124b3d1a68
Author: Matthias Pohl <ma...@aiven.io>
AuthorDate: Wed Aug 2 17:23:38 2023 +0200

    [hotfix][docs] Adds clean to Maven command in README file
    
    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.
---
 README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 35931f5..a27d365 100644
--- a/README.md
+++ b/README.md
@@ -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