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?
Solved! Go to Solution.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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
Views
Replies
Total Likes
The JCR Installer will definitely handle packages; it just isn't as common as using it for bundles and configs.
Views
Replies
Total Likes
Views
Likes
Replies