Highlighted

Create AEM Project Structure using Lazybones

Avatar

Avatar

Ankur_A

Employee

Avatar

Ankur_A

Employee

Ankur_A
Employee

01-05-2017

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.

  • Lazybones Overview.
  • Install Lazybones.
  • Create Project Structure using Lazybones.
  • Import Generated AEM Project to Eclipse

Read more at  http://www.aemcq5tutorials.com/tutorials/create-aem-project-structure-using-lazybones/

Replies

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

959

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

959

Correct Answer

1.1K
kautuk_sahni
Community Manager

01-05-2017

Excellent article!!

Highlighted

Avatar

Avatar

Jitendra_S_Toma

Avatar

Jitendra_S_Toma

Jitendra_S_Toma

04-05-2017

Lazybone concept is nice idea. it comes with many features. however, it fits more with gradle & groovy.

Highlighted

Avatar

Avatar

cquser1

Avatar

cquser1

cquser1

05-05-2017

Hi Ankur,

Thank you for sharing this.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

05-05-2017

Here is HELPX Lazybone article - that covers additional concepts such as workign with the template editor, new 6.3 policies, etc. 

https://helpx.adobe.com/experience-manager/using/aem_lazybones.html

Highlighted

Avatar

Avatar

hemantbellani-O

Avatar

hemantbellani-O

hemantbellani-O

27-10-2017

Hi,

I have downloaded the lazybones – lazybones-0.8.3 and used the command :
lazybones create aem-multimodule-project aemtraining
and
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

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

27-10-2017

I just tested and it worked-

ALazybone.png

One reason is it may not have been setup properly. See this article for setup instructions:

Creating an Adobe Experience Manager project using Lazybones

Highlighted

Avatar

Avatar

hemantbellani-O

Avatar

hemantbellani-O

hemantbellani-O

30-10-2017

Thanks smacdonald2008​ .

I will re-check the steps i did for my setup and come back with any further questions.

Highlighted

Avatar

Avatar

kentt58815968

Avatar

kentt58815968

kentt58815968

13-11-2017

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

Highlighted

Avatar

Avatar

Shallu_Rohilla

Avatar

Shallu_Rohilla

Shallu_Rohilla

14-11-2017

Facing the same issue.