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.
Solved! Go to Solution.
Views
Replies
Total Likes
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.apps
, proj1.ui.config
, proj1.ui.content
, and proj1.all
.
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 -
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"
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.apps
, proj1.ui.config
, proj1.ui.content
, and proj1.all
.
Thank you so much for the help @Rohan_Garg
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