Adobe is recommending its customers to create AEM project structure using Lazybones instead of traditional Maven archetype 10. As when we create a aem project using Maven archetype it is not easy to customize, it provides lots of sample content and packages like test, launcher. Which might not be required for your project, on contrary lazybones bones is very interactive , flexible and easy to customize according to your project need. Adobe consulting Services (ACS) provides a aem multi module template using which you can create AEM projects, which includes lot of default config options and also provides an option to include the ACS commons package as a sub package.
The aim of this tutorial is to learn what is lazybones and how we can use it to create an aem skeleton project structure, as Adobe consulting Services (ACS) has updated the template version and provided the support for AEM 6.3 also i am going to create project structure for AEM 6.3, for learning i am using windows machine so we are going to install lazybones on windows, but you can install it on linux and other operating systems also.
Lazybone concept is nice idea. it comes with many features. however, it fits more with gradle & groovy.
Can you please elaborate all the features for using Lazybones. Actually we are thinking to move our project from Maven archetype structure to lazybones.
I have downloaded the lazybones – lazybones-0.8.3 and used the command :
lazybones create aem-multimodule-project aemtraining
receive the response as below:
Creating project from template aem-multimodule-project (latest) in ‘aemtraining’
(Offline mode – run with -v or –stacktrace to find out why)
Cannot create a new project when the template isn’t locally cached or no version is specified
Could you please point me to a probable reason ?
Thanks in advance !
– Hemant Bellani
smacdonald2008 - my issue was resolved. The issue seemed to be due to a restriction of organizational firewall blocking the access to the template repository, I was able to proceed from a personal connection to internet outside or organizational firewall.
I am glad to hear it was resolved.
Seeing the same caching issue message during creation. I have gone through all of the posts and verified the installation. Tried with and without version number.
C:\Users\I268209>lazybones create aem-multimodule-project 0.0.1 aemtraining
Creating project from template aem-multimodule-project 0.0.1 in 'aemtraining'
Unexpected failure: Connection reset
Cannot create a new project when the template isn't locally cached or no version is specified
Are you able to resolve the issue .please let me know
and it worked fine for me. Though I got few errors while installing SDKMAN.
Firstly, I got errors for bash and curl command not found. I used git bash window to resolve this.
Secondly, I got error for zip not found while installing SDKMAN. I copied zip.exe and bzip2.dll in /git/user/bin and it worked
Could anyone share link how to configure dispatcher in project created using Lazybones. It will be very helpful.