AEM 6.3 - Maven build is successful but still doesn't install content | Community
Skip to main content
Level 4
October 10, 2017
Solved

AEM 6.3 - Maven build is successful but still doesn't install content

  • October 10, 2017
  • 23 replies
  • 9844 views

I am facing this weird issue where the maven build is successful but the content inside /apps,/etc, /conf doesn't gets installed. These are some of the use cases when this issue occurs:

1) Create a component in CRXde, export it to local filesystem using vlt up. Delete the component in CRXde. Do a maven build. No component present in CRXde. Although it is seen in the zip file created under target folder.

2) Checkout the project from git on a machine that doesn't have the project setup. Do a maven build. Only the folder structure will be seen in CRXde.

Some information about the project

-- Created a new project using lazybones

-- No changes to pom.xml made yet

-- Maven verison 3.5.0 and AEM 6.3 is being used.

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Ratna_Kumar

Hi,

I am not opposing File Vault but the best way to sync AEM and Eclipse is using AEM Eclipse Plugin.

Yes, Look here : Getting Started with AEM Sites Part 2 - Creating a Base Page and Template

There you will see how to sync between AEM and Eclipse using AEM Eclipse Plugin.

Hope this helps!!

~Ratna

23 replies

Ratna_Kumar
Level 10
October 10, 2017

Hi,

Yes, Raja is correct. See what is present in filter.xml, whether you have included /apps, /etc,

However, I am retesting this article Developing your first Experience Manager 6.3 Components and let you know my findings.

Note: I highly recommend AEM Eclipse plugin for syncing with AEM and Eclipse or vice versa(Vault is very old)

Thanks,

Ratna

Level 4
October 10, 2017

Here is what would describe my problem:

Did the maven build and here is what I find in CRXde

There are no components inside content and structure folders.

This is how the filter.xml looks like:

Ratna_Kumar
Level 10
October 10, 2017

Hi,

It Works!! Please check the below screenshots. Please do follow the article and it will work like charm.

In Eclipse:

In CRXDE After building using Maven or using AEM plugin in Eclipse.

~Ratna.

smacdonald2008
Level 10
October 10, 2017

Follow the exact directions as Ratna specified. Follow the articel and got those components deployed. Then do the same thing for your components.

Level 4
October 10, 2017

Thank you Ratna.  I have done this too and I am aware that it works. However, once you configure the filevault with this project using vlt --credentials admin:admin checkout -f ../META-INF/vault/filter.xml --force http://localhost:4502/crx

things change.

Do you suggest I should stop using fievault completely ? How would you advise I should export the components created in CRXde to eclipse or the local filesystem ?

Ratna_Kumar
Level 10
October 10, 2017

Eventually Filevault plugin will work!!

I will have a look on Filevault and get back to you with my findings!!

Thanks,

Ratna

smacdonald2008
Level 10
October 10, 2017

Use Eclipse - not Vlt - to sync code.

smacdonald2008
Level 10
October 10, 2017

Ranta also suggested that you look here for additonal details -- Adobe Experience Manager Help | Getting Started with AEM Sites - WKND Tutorial

Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
October 10, 2017

Hi,

I am not opposing File Vault but the best way to sync AEM and Eclipse is using AEM Eclipse Plugin.

Yes, Look here : Getting Started with AEM Sites Part 2 - Creating a Base Page and Template

There you will see how to sync between AEM and Eclipse using AEM Eclipse Plugin.

Hope this helps!!

~Ratna

Level 4
October 10, 2017

Thank you Scott. WKND tutorial is the one I am trying to develop.