Expandir minha barra de realizações na Comunidade.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

Esta conversa foi bloqueada devido à inatividade. Crie uma nova publicação.

SOLUCIONADO

How to include multiple publisher hosts in maven scripts???

Avatar

Level 9

Hi All,

For our QA environment our author is configured with 2 publisher instances.

I have to push both bundle and packages onto both the publishers.

How i need to include these profiles in maven build script?

Thanks,

Kishore

1 Solução aceita

Avatar

Resposta correta de
Employee

Hi Kishore,

using CI is the recommended way to deploy to each environment, it's an industry best practice, nothing to do with AEM.

However if you are not using CI, then you can have separate profiles for each publish instance or you can write a shell script that can upload to both publish instances using "curl" commands.

Another way is to activate the package from package manager on the author which would deploy the packages via any configured replication agents.

Regards,

Opkar

Ver solução na publicação original

2 Respostas

Avatar

Employee Advisor
You should be using a CI tools like Jenkins/GO etc for deploying built artifacts to multiple instances in multiple environments. Maven should only be used for build, unit/integration  tests and deploying on local developer environment.

Avatar

Resposta correta de
Employee

Hi Kishore,

using CI is the recommended way to deploy to each environment, it's an industry best practice, nothing to do with AEM.

However if you are not using CI, then you can have separate profiles for each publish instance or you can write a shell script that can upload to both publish instances using "curl" commands.

Another way is to activate the package from package manager on the author which would deploy the packages via any configured replication agents.

Regards,

Opkar