<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Alfresco 5.0d share resources META-INF are not included in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311841#M264971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my project I have custom css, js and tinymce plugins on the META-INF folder. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I checked&amp;nbsp; out this demo project &lt;/SPAN&gt;&lt;A href="https://github.com/gravitonian/alfresco-maven-sdk2-test.git" rel="nofollow noopener noreferrer"&gt;https://github.com/gravitonian/alfresco-maven-sdk2-test.git&lt;/A&gt;&lt;SPAN&gt; 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. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There is something during the WAR build, that somehow forgets to go to META-INF and add the files, while the JAR build works. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am struggling to explain my issue, but I hope someone understands what I am experiencing. &lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Nov 2015 11:47:42 GMT</pubDate>
    <dc:creator>nunocardoso</dc:creator>
    <dc:date>2015-11-27T11:47:42Z</dc:date>
    <item>
      <title>Alfresco 5.0d share resources META-INF are not included</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311841#M264971</link>
      <description>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</description>
      <pubDate>Fri, 27 Nov 2015 11:47:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311841#M264971</guid>
      <dc:creator>nunocardoso</dc:creator>
      <dc:date>2015-11-27T11:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 5.0d share resources META-INF are not included</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311842#M264972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;addon META-INF contents should never be overlayed into the WAR file - they must always be included in the META-INF of the JAR file for the addon. Also, starting with Alfresco 5.1, the default META-INF contents of the Share WAR are important for module validation / dependency management purposes and must never be overriden by any addon (specifically the MANIFEST.MF). SDK 2.1.1 may already contain changes that are aimed at preventing any accidental overlay.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://issues.alfresco.com/jira/browse/ACE-4325" rel="nofollow noopener noreferrer"&gt;https://issues.alfresco.com/jira/browse/ACE-4325&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;ACE-4325&amp;lt;/a&amp;gt; for one issue I directly experienced with accidental overlay of META-INF. This issue also references another issue that Alfresco themselves encountered. The &amp;lt;a href="&lt;/SPAN&gt;&lt;A href="https://github.com/Alfresco/alfresco-sdk/issues/335" rel="nofollow noopener noreferrer"&gt;https://github.com/Alfresco/alfresco-sdk/issues/335&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;SDK issue #335&amp;lt;/a&amp;gt; contains a mention that in future versions, WAR overlay may be discontinued anyway.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Nov 2015 12:27:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311842#M264972</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2015-11-27T12:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: Alfresco 5.0d share resources META-INF are not included</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311843#M264973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Took me all day to figure out where the META-INF files were going, thanks for the insight&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 21:58:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/alfresco-5-0d-share-resources-meta-inf-are-not-included/m-p/311843#M264973</guid>
      <dc:creator>tyler_lovejoy</dc:creator>
      <dc:date>2016-12-13T21:58:36Z</dc:date>
    </item>
  </channel>
</rss>

