내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Dependency Error

Avatar

Level 2

Hi All,

I'm trying to build & deploy AEM project archetype 39 according to here https://github.com/adobe/aem-project-archetype - project deployed successfully on local instance but when I check My Site bundle is in Installed state and 2 errors as below

Screen Shot 2022-11-25 at 10.36.07 AM.png

 What might be the wrong here?

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

@shoib_I Well, that is expected! My analysis as below,

  • As per above command for generating project - You missed adding one property ie. aemVersion - per documentation here: https://github.com/adobe/aem-project-archetype by default it is taken as cloud
    Screen Shot 2022-11-25 at 11.17.24 AM.png
  •  Please run below command as per your AEM instance version 6.5.14.

    mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
     -D archetypeGroupId=com.adobe.aem \
     -D archetypeArtifactId=aem-project-archetype \
     -D archetypeVersion=39\
     -D appTitle="My Site" \
     -D appId="mysite" \
     -D groupId="com.mysite" \
    -D aemVersion="6.5.14"

This should solve your problem.


Santosh Sai

AEM BlogsLinkedIn


원본 게시물의 솔루션 보기

4 답변 개

Avatar

Community Advisor

Hi @shoib_I ,

Could you please tell us what is the exact version of AEM you are using and what command you have been used to generate project?

Also, have you installed latest Service Pack?

Regards,

Santosh


Santosh Sai

AEM BlogsLinkedIn


Avatar

Level 2

@SantoshSai I have used below command to generate project 

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
 -D archetypeGroupId=com.adobe.aem \
 -D archetypeArtifactId=aem-project-archetype \
 -D archetypeVersion=39\
 -D appTitle="My Site" \
 -D appId="mysite" \
 -D groupId="com.mysite"

as archetype 39 supports AEM 6.5.7.0+ I'm using AEM 6.5.0 on top of it yes Installed Service Pack 6.5.14 - but still the same issue.

Avatar

정확한 답변 작성자:
Community Advisor

@shoib_I Well, that is expected! My analysis as below,

  • As per above command for generating project - You missed adding one property ie. aemVersion - per documentation here: https://github.com/adobe/aem-project-archetype by default it is taken as cloud
    Screen Shot 2022-11-25 at 11.17.24 AM.png
  •  Please run below command as per your AEM instance version 6.5.14.

    mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \
     -D archetypeGroupId=com.adobe.aem \
     -D archetypeArtifactId=aem-project-archetype \
     -D archetypeVersion=39\
     -D appTitle="My Site" \
     -D appId="mysite" \
     -D groupId="com.mysite" \
    -D aemVersion="6.5.14"

This should solve your problem.


Santosh Sai

AEM BlogsLinkedIn


Avatar

Level 2

Thanks @SantoshSai that's amazing! It works! 👏