Eclipse Maven AEM Integration using ArcheType-10 | Community
Skip to main content
AEM_Forum
Level 10
April 10, 2017
Solved

Eclipse Maven AEM Integration using ArcheType-10

  • April 10, 2017
  • 17 replies
  • 3225 views

Hi,

If my project is named example, the POM you are referring to is example/pom.xml ?

There are many POMs.

Thanks,

Rama.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

17 replies

Feike_Visser1
Adobe Employee
Adobe Employee
April 10, 2017

That is possible, please note that the archeType is not working on AEM62, you need to make a small change in pom.xml to make this happen.

AEM_Forum
AEM_ForumAuthor
Level 10
April 10, 2017

Hi,

Kindly let me know step by step procedure, highlighting the POM change.

I want to establish this integration today itself!

Appreciate your support.

Thanks,

Rama.

Feike_Visser1
Adobe Employee
Adobe Employee
April 10, 2017

add this dependency

       <dependency>

            <groupId>javax.inject</groupId>

            <artifactId>javax.inject</artifactId>

            <version>1</version>

            <scope>provided</scope>

        </dependency>

 

and make sure to use the 6.2 uber-jar

AEM_Forum
AEM_ForumAuthor
Level 10
April 10, 2017

Thanks for reverting.

This is a good pointer.

I am hearing so many topics like Help --> Install Software,  Help --> Eclipse Market Place,  Create Multi Module project, create project using maven and importing, etc and getting lost.

That is why if you could offer step by step instructions that work with AEM 6.2, including testing Helloworld, that helps.

Thanks,

Rama.

AEM_Forum
AEM_ForumAuthor
Level 10
April 10, 2017

Again, my preference is to use an UI like Eclipse, to perform as much of it as possible and as little as possible of Maven, which is command line.

Thanks,

Rama.

Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
April 10, 2017
April 10, 2017

Hi Rama,

You can use vaultclipse plugin for eclipse for automatically synchronized content between eclipse and AEM.
You can download plugin using the following URL  
https://sourceforge.net/projects/vaultclipse
But I would like to recommend you for using Brackets IDE.

Thanks,
Phool Chandra

Ratna_Kumar
Level 10
April 10, 2017

Hi,

Please look into the below community articles and this will surely help in your issue.

//http://adobeaemclub.com/how-to-set-up-aem-projects-using-eclipse-plugin/

//https://www.linkedin.com/pulse/aem-developer-tools-eclipse-installation-guide-ashish-shrivastava

Hope this helps!

~ Ratna.

AEM_Forum
AEM_ForumAuthor
Level 10
April 10, 2017

How to make sure to use the 6.2 uber-jar?

Thanks,

Rama.

Feike_Visser1
Adobe Employee
Adobe Employee
April 10, 2017

Have this dependency:

        <!-- AEM6.x dependency -->

        <dependency>

            <groupId>com.adobe.aem</groupId>

            <artifactId>uber-jar</artifactId>

            <version>6.2.0-SP1</version>

            <!-- for AEM6.1 use this version : <version>6.1.0</version> -->

            <!-- for AEM6.1 SP1 use this version : <version>6.1.0-SP1-B0001</version> -->

            <!-- for AEM6.1 SP2 use this version : <version>6.1.0-SP2</version> -->

            <!-- for AEM6.1 SP2 + CFP2 use this version : <version>6.1.SP2-CFP2</version> -->

            <!-- for AEM6.2 use this version : <version>6.2.0</version> -->

            <!-- for AEM6.2 SP1 use this version : <version>6.2.0-SP1</version> -->

            <!-- note that since 6.2 "apis" are publicly available in repo.adobe.com -->

            <classifier>apis</classifier>

            <scope>provided</scope>

        </dependency>