create gradle multimodule project for AEM using lazybones templates - gradle

I had heard of lazybones, which is a command line tool for project creation and it is more interactive or customizable than Maven Archetypes. Thus, I created a maven multimodule aem project using lazybones.
The Command and template for AEM multimodule project is:
lazybones create aem-multimodule-project <target-folder>
This creates a maven multimodule project for AEM. Then, I tried to find the same for Gradle, but I didn't find any template regarding that.
Can anyone give me any direction how can I achieve the same.

Please consider using gradle aem plugin. It has a lot of features and might be good for your case
https://github.com/Cognifide/gradle-aem-plugin

Related

How to convert spring based java project into maven projects?

I am planning to convert my spring based java project into maven project, so in this conversation what kind of project structure and configuration I should follow
You need to figure out the dependencies of your project and it would be better to unify them through either ready made BOM or you create your own
Maven BOM
To facilitate code organization, it is advisable to use multi-module projects
Maven multi-modules tutorial

Intellij - No maven module

I was trying to create a new project in intelliJ using maven module but notice that it has disappear. I tried google but can't find a solution.
Perhaps you need to enable Maven Integration in your plugins.

how to add jar creation to J2EE web project

I am a newbie with maven, I created a dynamic web project in eclipse and then converted into maven project.
Instead of deploying the project in a standard container I would use embedded jetty.
How can I create in maven the appropriate jar executable with all dependencies included?
Thanks
Roberto
Found solution by myself at
http://blog.anvard.org/articles/2013/10/09/embedded-jetty-executable-maven.html
Basically we can add as many maven plugin as we want, adding dependencies and then packaging all togheter.

Using custom maven plugin in gradle project

I developed custom maven plugin using java 5 annotations and I want to use that plugin in gradle project but I am not getting any useful stuff on internet even after lots of googling could you please let me know how to use custom maven plugin in project build with gradle?
Thanks and Regards,
Mahendra Tonape.

Maven and Archetype

Is it possible to create own own project structure ( Archetype) i also like to add some dynamic files to be created.
What steps involved to create it?
You can use the Maven Archetype Plugin to do this. You could use the create-from-project goal to create an archetype from an existing project and then modify this archetype so it fits your needs. You will find all details on the project site.
I have written a tutorial on maven archetypes. This tutorial builds an archetype from the ground for Maven 3.x and demonstrates:
required / optional properties
dynamic files
integration tests
archetype usage
There is also finished code for the tutorial archetype on github:

Resources