Error while setting up AEM Maven project with Archetype 10

Avatar

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
nikhilt70039312
Level 1

16-11-2018

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

Replies

Avatar

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

159 likes

Total Posts

755 posts

Correct reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile

Avatar
Validate 25
MVP
Ratna_Kumar
MVP

Likes

159 likes

Total Posts

755 posts

Correct reply

134 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give Back 50
Give Back 5
View profile
Ratna_Kumar
MVP

16-11-2018

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

Avatar
Give Back 50
Employee
Feike_Visser1
Employee

Likes

247 likes

Total Posts

970 posts

Correct reply

221 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
Feike_Visser1
Employee

Likes

247 likes

Total Posts

970 posts

Correct reply

221 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
Feike_Visser1
Employee

16-11-2018

I would use

<classifier>apis</classifier>

Avatar

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
nikhilt70039312
Level 1

16-11-2018

-->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

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
nikhilt70039312
Level 1

16-11-2018

-->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

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
nikhilt70039312
Level 1

16-11-2018

-->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

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile

Avatar
Validate 25
Level 10
smacdonald2008
Level 10

Likes

1,409 likes

Total Posts

12,671 posts

Correct reply

2,278 solutions
Top badges earned
Validate 25
Validate 10
Validate 1
Give back 900
Give back 600
View profile
smacdonald2008
Level 10

16-11-2018

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

Avatar

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
nikhilt70039312
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
nikhilt70039312
Level 1

16-11-2018

Thanks it worked with archetype 12