Skip to main content
AEM_Forum
Level 10
Apr 10, 2017 4:34 AM UTC
Solved

Eclipse Maven AEM Integration using ArcheType-10

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.
Feike_Visser1
Feike_Visser1Accepted solution
Adobe Employee
Apr 10, 2017 9:56 AM UTC

17 replies

Feike_Visser1
Adobe Employee
Adobe Employee
Apr 10, 2017 6:19 AM UTC

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.

Translate
AEM_Forum
AEM_ForumAuthor
Level 10
Apr 10, 2017 6:28 AM UTC

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.

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Apr 10, 2017 8:39 AM UTC

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

Translate
AEM_Forum
AEM_ForumAuthor
Level 10
Apr 10, 2017 9:41 AM UTC

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.

Translate
AEM_Forum
AEM_ForumAuthor
Level 10
Apr 10, 2017 9:44 AM UTC

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.

Translate
Feike_Visser1
Adobe Employee
Feike_Visser1Adobe EmployeeAccepted solution
Adobe Employee
Apr 10, 2017 9:56 AM UTC
Apr 10, 2017 10:07 AM UTC

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

Translate
Ratna_Kumar
Level 10
Apr 10, 2017 10:18 AM UTC

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.

Translate
AEM_Forum
AEM_ForumAuthor
Level 10
Apr 10, 2017 1:59 PM UTC

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

Thanks,

Rama.

Translate
Feike_Visser1
Adobe Employee
Adobe Employee
Apr 10, 2017 2:11 PM UTC

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>

Translate