-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation of required maven structure #49
Comments
Hi @brennhill - thanks for the feedback and sorry for the extremely delayed response. http://code.digitalatolson.com/cq-component-maven-plugin/configuration.html calls out the configuration needed and http://code.digitalatolson.com/cq-component-maven-plugin/usage.html speaks to the phase where it needs to be executed. Given that it is intended to modify the package that is to be deployed it needs to be run somewhere after that package has been created but before it has been deployed. We typically run it in the front end / ui module in a typical multi module setup. Is there any particular update you would suggest to the documentation that would help clarify this? |
May be this is trivial, I have a AEM project with Archetype 10. I have updated the top level pom with the configurations mentioned. com.citytechinc.cq.component.dialog.exception.OutputFailureException: Archive file does not exist Can you please clarify the right path Thanks |
@Pushparajan hi, I had same problem and lots of problem to figure out whats wrong. This is how plugin work: after maven-packutil-plugin creates zip crx package, before its deployed, this plugin unpacks it and add dialog xml files, and zip it again. "Archive file does not exist" occurs when this zip crx package is not found.
Solution is simple, just rename final name in the pom.xml |
Thanks,@stefanvozd I did figure that. I have started changing a bit, not to read or write to archive but to generate to project folders. additionally, I have added code to generate an htl page |
There seems to be some dependency on how your maven project is setup. E.g. if you have a backend module and FE module, in which module should you declare the plugin and dependencies?
I'll happily update the docs but I haven't been able to figure this out.
The text was updated successfully, but these errors were encountered: