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

martijnvisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-shaded.git


The following commit(s) were added to refs/heads/master by this push:
     new 2eff4e2  [hotfix][docs] Adds clean to Maven command in README file
2eff4e2 is described below

commit 2eff4e25e6f6c6c67641973cc08ac0edde5decce
Author: Matthias Pohl <[email protected]>
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
 

Reply via email to