flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fabian Hueske <fhue...@gmail.com>
Subject Re: Updating the flink JAR with a single module
Date Fri, 04 Sep 2015 10:24:13 GMT
Hi Niklas,

if you only want to update individual submodules you can do:

cd flink-runtime // build this submodule
mvn -DskipTests clean install // will put the new flink-runtime jar into
the local Maven repository
cd ../flink-dist
mvn -DskipTests clean install // will fetch all required dependencies from
the local Maven repository without rebuilding them.

You need to have run mvn -DskipTests clean install before to have all
required dependencies in the local repository.

Cheers, Fabian

2015-09-04 11:46 GMT+02:00 Niklas Semmler <nsemmler@inet.tu-berlin.de>:

> Hi there,
>
> I have a question on the setup of the development environment for flink.
>
> Is it possible to update the big JAR file
> (flink-dist/target/.../lib/flink-dist-0.9-SNAPSHOT.jar), which flink
> apparently uses for deployment, with a single module (flink-runtime)?
>
> Recompiling all of the modules takes several minutes on my laptop, while
> compiling only the module is a matter of seconds.
>
> My knowledge of maven is pretty limited, so I compile flink with
>
> > mvn package -Dmaven.test.skip=true
>
> This process is really slowing down my development cycle. I would
> appreciate your help :)
>
> Best regards,
> Niklas
>
> --
> PhD Student / Research Assistant
> INET, TU Berlin
> Room 4.029
> Marchstr 23
> 10587 Berlin
> Tel: +49 30 314 78752
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message