Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Error while setting up AEM Maven project with Archetype 10

Avatar

Level 1

Hi All,

I am new to AEM, I am trying to set up AEM Archetype 10 project, but after the project is created, I am getting below error in pom.xml of both training.core and training.it.launcher (artifact id for the project is "training")

Error is

Description Resource Path Location Type

Missing m2e incremental build support for generating the bundle manifest, component descriptions and metatype resources. Please use the provided Quick Fixes on this issue to resolve this. pom.xml /training.core line 1 Bundle Project Not Supporting M2E

Can someone please guide and assist me on the same. Any help would be appreciated.

Thanks

Nikhil

7 Replies

Avatar

Level 10

Hi Nikhil,

Can you look into this HELPX article which is on Archytype 10. Adobe Experience Manager Help | Creating your first Adobe Experience Manager 6.2 Project using Adobe...

Make sure you include dependencies properly in parent and core project as per below example. If your version is AEM 6.3 then,

in Parent POM

<dependency>

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

               <artifactId>uber-jar</artifactId>

               <version>6.3.0</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.2 use this version     : <version>6.2.0</version> -->

               <classifier>obfuscated-apis</classifier>

               <scope>provided</scope>

           </dependency>

           

           <dependency>

               <groupId>org.apache.geronimo.specs</groupId>

               <artifactId>geronimo-atinject_1.0_spec</artifactId>

               <version>1.0</version>

               <scope>provided</scope>

           </dependency>

in Child POM-

<dependency>

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

            <artifactId>uber-jar</artifactId>

            <classifier>obfuscated-apis</classifier>

        </dependency>

        <dependency>

            <groupId>org.apache.geronimo.specs</groupId>

            <artifactId>geronimo-atinject_1.0_spec</artifactId>

        </dependency>

Hope this helps

Thanks,

Ratna Kumar.

Avatar

Level 1

-->I have added the below to parent pom at training/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

                <version>6.3.0</version>

                <classifier>apis</classifier>

                <scope>provided</scope>

            </dependency>

-->I have added the below to child pom at  training.core/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

              

                <classifier>apis</classifier>

             

            </dependency>

--> also, I have the same to training.it.tests/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

              

                <classifier>apis</classifier>

             

            </dependency>

Still i am seeing the same error in  training.core/pom.xml and training.it.tests/pom.xml , but i could deploy the project successfully to AEM instance. Please assist , shall i ignore the error?

Avatar

Level 10

WHat AEM Version do you have?  If you have AEM 6.3 - you should use Arch type 11 or 12.

Avatar

Level 1

-->I have added the below to parent pom at training/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

                <version>6.3.0</version>

                <classifier>apis</classifier>

                <scope>provided</scope>

            </dependency>

-->I have added the below to child pom at  training.core/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

              

                <classifier>apis</classifier>

             

            </dependency>

--> also, I have the same to training.it.tests/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

              

                <classifier>apis</classifier>

             

            </dependency>

Still i am seeing the same error in  training.core/pom.xml and training.it.tests/pom.xml , but i could deploy the project successfully to AEM instance. Please assist , shall i ignore the error?

Avatar

Level 1

-->I have added the below to parent pom at training/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

                <version>6.3.0</version>

                <classifier>apis</classifier>

                <scope>provided</scope>

            </dependency>

-->I have added the below to child pom at  training.core/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

               

                <classifier>apis</classifier>

              

            </dependency>

--> also, I have the same to training.it.tests/pom.xml

<dependency>

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

                <artifactId>uber-jar</artifactId>

               

                <classifier>apis</classifier>

              

            </dependency>

Still i am seeing the same error in  training.core/pom.xml and training.it.tests/pom.xml , but i could deploy the project successfully to AEM instance. Please assist , shall i ignore the error?