아래 그림과 같이 maven archetype10을 사용하여 프로젝트 구조를 만들었고 모든 것이 잘되었습니다. aem 추가 방법 Maven 빌드에 Uber jar 종속성이 있습니다.
mvn archetype:generate -DarchetypeGroupId=com.adobe.granite.archetypes -DarchetypeArtifactId=aem-project-archetype -DarchetypeVersion=10 -DarchetypeRepository=https://repo.adobe.com/nexus/content/groups/public/
는 지금은 AEM의 동네 짱 - 항아리 종속성을 추가하고 싶어하고 프로젝트의 pom.xml에 각각 핵심 모듈의 pom.xml에 또한 내 저장소 태그는 아래 종속 태그를 추가 같은
https://repo.adobe.com/
로
<dependency>
<groupId>com.adobe.aem</groupId>
<artifactId>uber-jar</artifactId>
<version>6.2.0</version>
<scope>provided</scope>
</dependency>
위의 종속성 태그를 추가 한 후 컴파일하면 아래 오류가 발생합니다.
[ERROR]는 프로젝트 aemexample.core에 목표를 실행하지 못했습니다 :하지 프로젝트 com.krishh.example에 대한 해결 종속성 수 : aemexample.core : 번들 : 0.1 : 아티팩트 com.adobe을 전송할 수 없습니다. AEM : 동네 짱 - 항아리 : 항아리 : 6.2.0 /에 어도비 - 공공 릴리스 이 (http://repo.adobe.com/nexus/content/groups/public) : 인증서의 호스트 이름이 일치하지 않습니다!
<repo.adobe.com>
=<devedge.day.com>
또는<devedge.day.com>
-> [도움말 1]
Is 거기에 추가 종속성을 추가하고 이것을 성공적으로 컴파일하고 실행하기 위해 누락 된 것이 있습니다.
https://repo.adobe.com/nexus/content/groups/public/com/adobe/aem/uber-jar/입니다. * 인증서의 호스트 이름이 일치하지 않습니다. * 이야기입니다. – nullpointer
내 로컬 인스턴스에서 실행 중이고 mvn clean install -PautoInstallPackage를 사용하여 배포하여 ** localhost : 4502 ** 작성자 인스턴스 – krish