AEM 6.3 - Maven build is successful but still doesn't install content | Community
Skip to main content
Level 4
Oct 10, 2017 3:40 PM UTC
Solved

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

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.
Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
Oct 10, 2017 7:31 PM UTC

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

Level 4
Oct 11, 2017 3:56 PM UTC

Yeah, I got working with AEM Eclipse plugin yesterday. Finally decided not to use filevault. Thank you.

Translate
Ratna_Kumar
Level 10
Oct 11, 2017 3:24 PM UTC

Hi,

Did you get this working..

See the WKND tutorial which I have pointed out. You can do very easily using Eclipse AEM plugin by "Import from Server". See the below screenshot.

Hope this helps!!

~Ratna.

Translate
Level 4
Oct 10, 2017 7:47 PM UTC

I get your point Ratna. Not sure if it is the specific version of filevault that is causing the issue to happen. But I have tried it on different machines and it caused the same issue. I am definitely going to use AEM plugin to sync. Thanks for the help smacdonald2008​ Rajashankar​ and Ratna Kumar​

Translate
Level 4
Oct 10, 2017 7:41 PM UTC

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

Translate
Ratna_Kumar
Ratna_KumarAccepted solution
Level 10
Oct 10, 2017 7:31 PM UTC

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

Translate
smacdonald2008
Level 10
Oct 10, 2017 7:27 PM UTC

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

Translate
smacdonald2008
Level 10
Oct 10, 2017 7:20 PM UTC

Use Eclipse - not Vlt - to sync code.

Translate
Ratna_Kumar
Level 10
Oct 10, 2017 7:16 PM UTC

Eventually Filevault plugin will work!!

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

Thanks,

Ratna

Translate
Level 4
Oct 10, 2017 7:05 PM UTC

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 ?

Translate
smacdonald2008
Level 10
Oct 10, 2017 6:35 PM UTC

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

Translate