I have been using Maven to build my OSGI bundles.
Then I started using the AEM plugin for Eclipse and using that to import and export component code (JSP, CSS, JS and so on) between my project in Eclipse and my AEM server.
For OSGI bundles I would deploy them using AEM Web Console Bundles - <server><port>/system/console/bundles
Is it not possible to use a plugin inside maven to deploy code and bundles to an AEM server?
Is there a development tutorial that explains how to use and configure AEM and Sling plugins to deploy components and OSGI bundles using Maven?
Regards
Clive Stewart
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
Adding few more links to be used as reference:
Link:- http://goo.gl/r0Pctw
Link:- http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/
Link:- http://adobeaemclub.com/configuring-aem-maven-archetype-for-eclipse-plugin/
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
Yes you can deploy bundles directly to an AEM using Maven plugins.
Check these links-
http://www.cqblueprints.com/tipsandtricks/build-and-deploy-osgi/build-deploy-osgi-1.html
https://docs.adobe.com/docs/en/aem/6-1/develop/dev-tools/ht-projects-maven.html
Views
Replies
Total Likes
While we show in the AEM community articles how to install manually using Apache Felx console (so AEM developers know how to do this manually and its not a blackbox) - you are correct - you can install automatically via Maven. Use this command:
mvn -PautoInstallPackage install
For more information - see this AEM Doc topic:
Views
Replies
Total Likes
kunal23 wrote...
Yes you can deploy bundles directly to an AEM using Maven plugins.
Check these links-
http://www.cqblueprints.com/tipsandtricks/build-and-deploy-osgi/build-deploy-osgi-1.html
https://docs.adobe.com/docs/en/aem/6-1/develop/dev-tools/ht-projects-maven.html
Thank you for providing these links
Views
Replies
Total Likes
smacdonald2008 wrote...
While we show in the AEM community articles how to install manually using Apache Felx console (so AEM developers know how to do this manually and its not a blackbox) - you are correct - you can install automatically via Maven. Use this command:
mvn -PautoInstallPackage install
For more information - see this AEM Doc topic:
How to Build AEM Projects using Apache Maven
Hi Scott,
Thank you for the link and explaining that I need to use -PautoInstallPackage when I run mvn install
Views
Replies
Total Likes
Hi
Adding few more links to be used as reference:
Link:- http://goo.gl/r0Pctw
Link:- http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/
Link:- http://adobeaemclub.com/configuring-aem-maven-archetype-for-eclipse-plugin/
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
kautuksahni wrote...
Hi
Adding few more links to be used as reference:
Link:- http://goo.gl/r0Pctw
Link:- http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/
Link:- http://adobeaemclub.com/configuring-aem-maven-archetype-for-eclipse-plugin/
I hope this would help you.
Thanks and Regards
Kautuk Sahni
Hi Kautuk Shani,
Thank you for these links for me to read.
I really appreciate it.
Regards
Clive Stewart
Views
Replies
Total Likes