https://www.eclipse.org/downloads/.
2) Double Click on the Executable JAR after the download.
3) Select Eclipse IDE for Java EE Deveopers
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse1.png?w=1100)
4) Provide the installation Path and click install.
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse2.png?w=1100)
5) After the successful installation, click on Launch
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse3.png?w=1100)
6) While starting the Eclipse please select the workspace
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse4.png?w=1100)
7) By Default only JRE will be configured. So need to add JDK path too. otherwise maven install will fail.
Window – >Preferences
Java -> Installed JREs
Click Add button
Window – >Preferences
Java -> Installed JREs
Click Add button
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse5.png?w=1100)
8) Select Standard VM
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse6.png?w=1100)
9) Browse the JDK installation directory and Finish
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse7.png?w=1100)
10) JDK path will added.
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse8.png?w=1100)
11) For working with AEM projects. AEM plugins is required to install.
Help -> Eclipse Marketplace
Search for AEM
install AEM Developer Tools for Eclipse
Help -> Eclipse Marketplace
Search for AEM
install AEM Developer Tools for Eclipse
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse9.png?w=1100)
12) Accept the terms and conditions
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse10.png?w=1100)
13) Select Install anyway
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse11.png?w=1100)
14) Restart Eclipse to take effect changes
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse12.png?w=1100)
15) After restart AEM project will be visible in projects.
File->New -> Project
Select AEM Sample Multi-Module Project and click next
File->New -> Project
Select AEM Sample Multi-Module Project and click next
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse14.png?w=1100)
16) Select com.adobe.granite.archetypes : aem-project-archetype : 10
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse15.png?w=1100)
17) For Configuring Archetype Properties, provide Name, Group Id and Artifact ID.
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse16.png?w=1100)
18) Select the server details as per the requirement and click Finish
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse17.png?w=1100)
19) For First time Eclipse workspace setup.
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Eclipse Setup
Select Base directory
Set Goals as eclipse:eclipse
click Apply and run.
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Eclipse Setup
Select Base directory
Set Goals as eclipse:eclipse
click Apply and run.
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse18.png?w=1100)
20) Below Success message will be displayed in console
Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 2.175 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 1.368 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 1.113 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.074 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.194 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 1.129 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 2.175 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 1.368 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 1.113 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.074 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.194 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 1.129 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
21) Configure Maven for Clean install
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Clean Install
Select Base directory
Set Goals as clean install
click Apply and run.
Run -> Run Configurations
Select Maven Build
click on New Launch Configurations
Provide the Name : Clean Install
Select Base directory
Set Goals as clean install
click Apply and run.
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse19.png?w=1100)
22) Below success message will be displayed in console
[INFO] Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 8.242 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 7.524 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 3.208 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.778 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.859 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 5.062 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
[INFO] Reactor Summary:
[INFO]
[INFO] myproject …………………………………… SUCCESS [ 8.242 s]
[INFO] AEM Sample – Core ……………………………. SUCCESS [ 7.524 s]
[INFO] AEM Sample – UI apps …………………………. SUCCESS [ 3.208 s]
[INFO] AEM Sample – UI content ………………………. SUCCESS [ 0.778 s]
[INFO] AEM Sample – Integration Tests Bundles …………. SUCCESS [ 0.859 s]
[INFO] AEM Sample – Integration Tests Launcher ………… SUCCESS [ 5.062 s]
[INFO] ————————————————————————
[INFO] BUILD SUCCESS
23) Now in Project explore, a clean AEM project will be created.
![](https://aemcq5pedia.files.wordpress.com/2017/12/ecilpse20.png?w=1100)
No comments:
Post a Comment
If you have any doubts or questions, please let us know.