The cluster will only be refreshed if you rebuild the module with
changes and "flink-dist". So in this particular case:

$ mvn clean install -DskipTests -Dfast -pl flink-runtime,flink-dist -am

If you have a fairly fresh SNAPSHOT build already in your local maven
repo, then "-am" can be omitted and it will be a lot more faster, cause
it won't compile half of the world. :)

Hope this helps!

Cheers,
Ferenc




On Saturday, August 10th, 2024 at 08:33, Gabor Somogyi 
<gabor.g.somo...@gmail.com> wrote:

> 
> 
> Flink does, but maven not always detect the changes for god knows why.
> Gradle is slightly better but also not flawless. So for testing it may
> work, but for releases I suggest not to use.
> 
> G
> 
> On Sat, Aug 10, 2024, 00:17 Dan Plyukhin dplyuk...@gmail.com wrote:
> 
> > Does Flink support incremental builds? I just started hacking around on
> > flink-runtime, but I can’t see my changes unless I do a full “mvn clean
> > package”. I’ve tried “mvn clean package -pl flink-runtime -am”, but when I
> > run the cluster from “./build-target/bin/start-cluster.sh” I don’t see any
> > change in behavior.
> > 
> > Thanks in advance!
> > Dan

Reply via email to