$ mvn -Dgeneration.type=local -Dproduct.path=<STUDIO_HOME> -s <STUDIO_HOME>/configuration/maven_settings.xml \
install -Pdocker \
-f <GIT_PROJECT_PATH>/<STUDIO_PROJECT>/poms \
-pl jobs/process/demorest_0.1,jobs/routes/demorestroute_0.1,jobs/routes/directsedademo_0.1
[INFO] Scanning for projects...
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] <STUDIO_PROJECT> DemoREST-0.1.0 (0.1,Jobs) Microservice Jar [jar]
[INFO] <STUDIO_PROJECT> DirectSEDADemo-0.1.0 (0.1,Routes) Microservice Jar [jar]
[INFO] <STUDIO_PROJECT> DemoRESTRoute-0.1.0 (0.1,Routes) Microservice Jar [jar]
...
[INFO] F8: [<STUDIO_PROJECT>/demorest:latest]: Created docker-build.tar in 6 seconds
[INFO] F8: [<STUDIO_PROJECT>/demorest:latest]: Built image sha256:755fc
[INFO] F8: [<STUDIO_PROJECT>/demorest:latest]: Tag with 0.1.0
...
[INFO] F8: [<STUDIO_PROJECT>/directsedademo:latest]: Created docker-build.tar in 5 seconds
[INFO] F8: [<STUDIO_PROJECT>/directsedademo:latest]: Built image sha256:cd71e
[INFO] F8: [<STUDIO_PROJECT>/directsedademo:latest]: Tag with 0.1.0
...
[INFO] F8: [<STUDIO_PROJECT>/demorestroute:latest]: Created docker-build.tar in 6 seconds
[INFO] F8: [<STUDIO_PROJECT>/demorestroute:latest]: Built image sha256:3a1a0
[INFO] F8: [<STUDIO_PROJECT>/demorestroute:latest]: Tag with 0.1.0
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for <STUDIO_PROJECT> DemoREST-0.1.0 (0.1,Jobs) Microservice Jar 0.1.0:
[INFO]
[INFO] <STUDIO_PROJECT> DemoREST-0.1.0 (0.1,Jobs) Microservice Jar SUCCESS [02:11 min]
[INFO] <STUDIO_PROJECT> DirectSEDADemo-0.1.0 (0.1,Routes) Microservice Jar SUCCESS [ 24.326 s]
[INFO] <STUDIO_PROJECT> DemoRESTRoute-0.1.0 (0.1,Routes) Microservice Jar SUCCESS [ 28.643 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 03:08 min
[INFO] Finished at: 2019-08-12T10:18:46+02:00
[INFO] ------------------------------------------------------------------------
where
-
<STUDIO_HOME> corresponds to the Talend Studio installation path
-
<GIT_PROJECT_PATH> corresponds to the Git
project path or Git clone result
-
<STUDIO_PROJECT> corresponds to the Talend Studio project name that is the same
as the Git project name. Project names must be in upper case.
Information noteTip: Use the -Dstudio.prometheus.metrics=true
command while publishing to Docker in order to expose Camel metrics to
Prometheus and provide more details about the deployed Routes (number of
processed exchanges, number of errors, requests per seconds, etc).