AnsweredAssumed Answered

Alfresco 5.0d share resources META-INF are not included

Question asked by nunocardoso on Nov 27, 2015
Latest reply on Dec 13, 2016 by tyler.lovejoy
Hi.

I am migrating my project from 4.2e to 5.0d, and I am using the all-in-one maven archetype, sdk 2.1.1.

In my project I have custom css, js and tinymce plugins on the META-INF folder.

For the 4.2e build (mv integration -Pamp-tp-war), those files are overlayed into the war file. Yet, with the new 2.1.1 maven builds, they aren't there.

I checked  out this demo project https://github.com/gravitonian/alfresco-maven-sdk2-test.git that has META-INF files, and they are being added, but through JAR packaging. When I add the same source directories into the blank project from the maven archetype sdk 2.1.1, they aren't included anymore.

There is something during the WAR build, that somehow forgets to go to META-INF and add the files, while the JAR build works.

I am struggling to explain my issue, but I hope someone understands what I am experiencing.

Outcomes