Deploying content-package-maven-plugin subPackages to author instances based on runmode | Community
Skip to main content
October 16, 2015
Solved

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

  • October 16, 2015
  • 4 replies
  • 1086 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by JustinEd3

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 replies

Sham_HC
October 16, 2015
JustinEd3Adobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

October 16, 2015

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

Adobe Employee
October 16, 2015

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