AEM Maven 프로젝트에서 샘플 제거

AEM Project Archetype에서 생성된 AEM 프로젝트에서 생성된 샘플 코드를 정리하고 제거하는 방법에 대해 알아봅니다.

리소스

명령

다음 명령을 실행하여 AEM Maven 프로젝트에서 생성된 샘플 파일을 제거할 수 있습니다.

rm -rf core/src/main/java/com/adobe/aem/wknd/examples/core/filters \
rm -rf core/src/main/java/com/adobe/aem/wknd/examples/core/listeners \
rm -rf core/src/main/java/com/adobe/aem/wknd/examples/core/models \
rm -rf core/src/main/java/com/adobe/aem/wknd/examples/core/schedulers \
rm -rf core/src/main/java/com/adobe/aem/wknd/examples/core/servlets \
rm -rf core/src/test/java/com/adobe/aem/wknd/examples/core/* \
rm -rf ui.apps/src/main/content/jcr_root/apps/wknd-examples/components/helloworld \
rm -rf ui.frontend/src/main/webpack/components/_helloworld.js \
rm -rf ui.frontend/src/main/webpack/components/_helloworld.css

편집

제거 <div class="helloworld" ...></div> 출처:

ui.frontend/src/main/webpack/static/index.html

제거 <helloworld> 구성 요소 인스턴스 정의 위치:

ui.content/src/main/content/jcr_root/content/wknd-examples/us/en/.content.xml
recommendation-more-help
4859a77c-7971-4ac9-8f5c-4260823c6f69