내 커뮤니티 업적 표시줄을 확대합니다.

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

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Deploying content-package-maven-plugin subPackages to author instances based on runmode

Avatar

Level 1

I have a content package that contains some translation software that I would like to deploy to author instances only.  I would like to use content-package-maven-plugin to do this, but although it's possible to embed bundles into a /apps/app/install.author folder so that they are deployed only to author instances, I'm not sure the same is possible for subPackages.  

I can't find much documentation for the content-package-maven-plugins, so I wondered whether anyone knew of a way of achieving this?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Employee

Hi Chris,

I don't think this is possible using subPackages. What you should be able to do, however, is to embed the package in /apps/app/install.author just as you would a JAR file. Have never tried this myself (and honestly, I would try to avoid this case in general, but I'm sure you've considered that already), but it should theoretically work.

Regards,

Justin

원본 게시물의 솔루션 보기

4 답변 개

Avatar

Level 10

Avatar

정확한 답변 작성자:
Employee

Hi Chris,

I don't think this is possible using subPackages. What you should be able to do, however, is to embed the package in /apps/app/install.author just as you would a JAR file. Have never tried this myself (and honestly, I would try to avoid this case in general, but I'm sure you've considered that already), but it should theoretically work.

Regards,

Justin

Avatar

Level 1

Hi Justin,

Thanks, I hadn't tried that as I thought it would be the jcrinstaller that would be looking for OSGI bundles - didn't think it would handle content packages.  I might give it a try just to see.  I might just add a package deployment step to the chef scripts after the author is created.  Just looking at the options at the moment, but thanks for your suggestion.

Regards,

 

Chris

Avatar

Employee

The JCR Installer will definitely handle packages; it just isn't as common as using it for bundles and configs.