Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Project is not showing in AEM console and crxde

Avatar

Level 1

I have created a new project and alos given a build while my instance was running but still not able to see that project into the crx de and in console. Kindly help me to understand this issue.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Rohan_Garg_0-1690348354813.png

Are you able to see the above file structure for your project on your local machine?

If yes, then run the following command to build and deploy the entire project to AEM:

$ mvn clean install -PautoInstallSinglePackage

The Maven profile autoInstallSinglePackage compiles the individual modules of the project and deploys a single package to the AEM instance. 

 

If the build is successful then navigate to Package Manager on your local AEM instance: http://localhost:4502/crx/packmgr/index.jsp. You should see packages for proj1.ui.appsproj1.ui.configproj1.ui.content, and proj1.all.

View solution in original post

5 Replies

Avatar

Community Advisor

Can you share more details on this?

1. Maven command to create new project. 

2. Check crx/packmgr if any package ui.apps or ui.all got pushed to the instance. Please share logs from your maven build logs.

Please refer the below link once - 

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel...

Rohan_Garg_0-1690347122658.png

 

Avatar

Level 4

The maven command that I used is : 

 

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="Practice Project1" -D appId="proj1" -D groupId="com.adobe.aem.guides" -D artifactId="proj1" -D package="com.adobe.aem.guides.proj1" -D version="0.0.1-SNAPSHOT" -D aemVersion="6.5.0"

Avatar

Correct answer by
Community Advisor

Rohan_Garg_0-1690348354813.png

Are you able to see the above file structure for your project on your local machine?

If yes, then run the following command to build and deploy the entire project to AEM:

$ mvn clean install -PautoInstallSinglePackage

The Maven profile autoInstallSinglePackage compiles the individual modules of the project and deploys a single package to the AEM instance. 

 

If the build is successful then navigate to Package Manager on your local AEM instance: http://localhost:4502/crx/packmgr/index.jsp. You should see packages for proj1.ui.appsproj1.ui.configproj1.ui.content, and proj1.all.

Avatar

Level 1

Hi @MonishGa ,

 

Please make sure your instance port no and port no configured in the pom.xml is same. After that you can run this command 

mvn clean install -PautoInstallSinglePackage

 

once the build is successful , you should see relevant packages installed under package manager screen