<?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 Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133749#M36009</link>
    <description>&lt;P&gt;I was seeing that for platform, but at least you are unblocked.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created profile based options here:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/acs7-sdk43-demo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/acs7-sdk43-demo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So if you would have to stick to out of the box build, you can do so.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the amp you need just run: &lt;A href="https://github.com/abhinavmishra14/acs7-sdk43-demo/blob/main/acs71-demo-share/pom.xml#L32" target="_self" rel="nofollow noopener noreferrer"&gt;mvn clean package -P&lt;SPAN&gt;amp-build&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Mar 2022 15:03:49 GMT</pubDate>
    <dc:creator>abhinavmishra14</dc:creator>
    <dc:date>2022-03-10T15:03:49Z</dc:date>
    <item>
      <title>AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modules</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133740#M36000</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;All the modules that i have created with SDK 4.1 are reported twice&amp;nbsp;at ACS startup and in share admin modules with ACS 6.2.2.&lt;BR /&gt;&lt;BR /&gt;The others modules not.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1444i5CA1647F20FFE22F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;And in share admin module navigator :&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice_2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1442i406CCB5F6422DC5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I have not modified the default structure of the AMP. The modules in twice work normally but i dont understand why they are listed twice.&lt;BR /&gt;&lt;BR /&gt;An old post talk about a same problem in sdk 3 but it has been fixed since (mix of test-classes and classes).&lt;BR /&gt;&lt;BR /&gt;Does someone have an idea where i can search ? I think the problem is linked with the fact that the module.properties file of the module is also in the jar file of the module in the war file...&lt;BR /&gt;&lt;BR /&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 10:35:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133740#M36000</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-03-04T10:35:14Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133741#M36001</link>
      <description>&lt;P&gt;Can you share the result of following command:&lt;/P&gt;
&lt;PRE&gt;java -jar alfresco-mmt.jar list &amp;lt;ShareWARFileLocation&amp;gt;
or
 java -jar bin/alfresco-mmt.jar list tomcat/webapps/share.war
&lt;/PRE&gt;
&lt;P&gt;Usually following properties are used from module.properties&lt;/P&gt;
&lt;PRE&gt;module.id=${project.artifactId}
module.title=${project.name}
module.description=${project.description}
module.version=${project.version}&lt;/PRE&gt;
&lt;P&gt;As you can see, it refers to maven properties, its likely that you may have two different modules having different ids but using same title/description. But first check the result of the above command and you may have to verify all amp modules to check the values for the above properties/pom files&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2022 23:28:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133741#M36001</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-04T23:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133742#M36002</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;A href="https://hub.alfresco.com/t5/user/viewprofilepage/user-id/74498" target="_self" rel="nofollow noopener noreferrer"&gt;&lt;SPAN class=""&gt;abhinavmishra14&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;for your help.&lt;BR /&gt;&lt;BR /&gt;The alfesco-mmt list command list only one amp module with this id &amp;gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice_5.png" style="width: 665px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1443iA4375B4839C5D2CC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;It seems that there is no artifactId problem... The 2 module.properties files (in the jar include in the AMP and in the AMP module) are also similar.&lt;BR /&gt;&lt;BR /&gt;I have created a new alfresco database and start with a public sdk 4.x AMP module from Jeff POTTS tutorial (actions-tutorial-share for example) and i have the same result...&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice_4.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1446iC48EECB23956C85D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice_3.png" style="width: 474px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1445iE3BDF5545413D182/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Is there something else that i can check ?&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 10:06:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133742#M36002</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-03-07T10:06:24Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133743#M36003</link>
      <description>&lt;P&gt;This could be an issue/bug with share modules view and may be showing duplicates. Which specific version of acs6 you are using, so i can also try to replicate?&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 17:38:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133743#M36003</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-07T17:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133744#M36004</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;&lt;BR /&gt;Yesterday i have downloaded the last alfresco.war, share.war and alfresco-share-services.amp of the distribution package 6.2.2.19 (&lt;/SPAN&gt;Enterprise&amp;nbsp;-&amp;nbsp;6.2.2 (19 r8452332f-b3758)) and i have the same issue.&lt;BR /&gt;&lt;BR /&gt;I have noticed that the infos that are displayed twice come from this 2 module.properties files :&lt;BR /&gt;&lt;BR /&gt;First info line in share module browser comes from module.properties file in C:\alfresco-content-services\tomcat\webapps\share\WEB-INF\lib\actions-tutorial-share-1.0-SNAPSHOT.jar\alfresco\module\actions-tutorial-share\module.properties&lt;/P&gt;&lt;P&gt;Second info line in share module browser comes from module.properties file in&lt;BR /&gt;C:\alfresco-content-services\tomcat\webapps\share\WEB-INF\classes\alfresco\module\actions-tutorial-share\module.properties&lt;BR /&gt;&lt;BR /&gt;Thank you for your help.&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 09:52:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133744#M36004</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-03-08T09:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133745#M36005</link>
      <description>&lt;P&gt;Glad you could figure out.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 21:40:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133745#M36005</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-08T21:40:35Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133746#M36006</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have identified the source of the informations that are reported twice but it it doesn't solve the problem &lt;img id="smileysad" class="emoticon emoticon-smileysad" src="https://connect.hyland.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;&lt;BR /&gt;&lt;BR /&gt;By default, the share AMP module seems to include 2 module.properties files for each AMP module created with the SDK 4.1.&lt;BR /&gt;&lt;BR /&gt;One in the AMP file and one in the JAR file that is included in the AMP file. So the Share module browser lists twice the module.&lt;BR /&gt;&lt;BR /&gt;How to avoid this, is it a good method to remove one of this 2 files ? Does the solution is to modify the amp.xml file for example in&amp;nbsp; :&lt;BR /&gt;&lt;BR /&gt;SDK 4.1 amp.xml &amp;gt;&lt;BR /&gt;&lt;BR /&gt;Not include module.properties at amp root ?&lt;BR /&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice6.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1448i606FBB923F5239FC/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Or not include the jar file in the module ?&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="share modules reported twice7.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1447iEB1CE6CA5D72A122/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 09:00:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133746#M36006</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-03-09T09:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133747#M36007</link>
      <description>&lt;P&gt;I see the problem, it is not just with share modules but its the same case with platform modules as well.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By default SDK4.x meant to build jar based artifact and hence the module.properties file is located under "src\main\resources\alfresco\module\&amp;lt;yourShareModule&amp;gt;" path. and when you also enable the sdk to generate amps along with jars, it end up putting the jar inside the amp/lib having one more module.properties file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you enabled this plug-in, you get the amp along with jars:&lt;/P&gt;
&lt;P&gt;some details can be found here:&amp;nbsp;&lt;A href="https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/amps.md" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/Alfresco/alfresco-sdk/blob/master/docs/advanced-topics/amps.md&lt;/A&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;plugin&amp;gt;
	&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;
	&amp;lt;artifactId&amp;gt;maven-assembly-plugin&amp;lt;/artifactId&amp;gt;
	&amp;lt;version&amp;gt;2.6&amp;lt;/version&amp;gt;
	&amp;lt;executions&amp;gt;
		&amp;lt;execution&amp;gt;
			&amp;lt;id&amp;gt;build-amp-file&amp;lt;/id&amp;gt;
			&amp;lt;phase&amp;gt;package&amp;lt;/phase&amp;gt;
			&amp;lt;goals&amp;gt;
				&amp;lt;goal&amp;gt;single&amp;lt;/goal&amp;gt;
			&amp;lt;/goals&amp;gt;
			&amp;lt;configuration&amp;gt;
				&amp;lt;appendAssemblyId&amp;gt;false&amp;lt;/appendAssemblyId&amp;gt;
				&amp;lt;descriptor&amp;gt;src/main/assembly/amp.xml&amp;lt;/descriptor&amp;gt;
			&amp;lt;/configuration&amp;gt;
		&amp;lt;/execution&amp;gt;
	&amp;lt;/executions&amp;gt;
	&amp;lt;dependencies&amp;gt;
		&amp;lt;dependency&amp;gt;
			&amp;lt;groupId&amp;gt;org.alfresco.maven.plugin&amp;lt;/groupId&amp;gt;
			&amp;lt;artifactId&amp;gt;alfresco-maven-plugin&amp;lt;/artifactId&amp;gt;
			&amp;lt;version&amp;gt;${alfresco.sdk.version}&amp;lt;/version&amp;gt;
		&amp;lt;/dependency&amp;gt;
	&amp;lt;/dependencies&amp;gt;
&amp;lt;/plugin&amp;gt;&lt;/PRE&gt;
&lt;P&gt;The catch is that, amps can't be installed unless there is module.properties file at the top level of the amp.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;There are two options to fix this:&lt;/P&gt;
&lt;P&gt;1- Exclude the module.properties from jar via maven-jar-plugin exclude config. Pros: Issue will be fixed, Cons: Only amp artifact can be deployed. If for any reason if you would have to go back to jar artifact only, then you have to include the module.properties back and remove the exclude config. OOTB local docker deployment may also fail as it will by default copy the jar in extensions directory and if jar doesn't have module.properties, it will not work. so you must also add&amp;nbsp;&amp;lt;includeTypes&amp;gt;amp&amp;lt;/includeTypes&amp;gt; to the docker projects where it copies the extensions and&amp;nbsp;&amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt; to the dependencies section.&lt;/P&gt;
&lt;P&gt;2- Create a custom copy jar (name it well so you can identify the purpose) and exclude the original jar + include the custom jar with no module.properties in the amp. Pros: Issue will be fixed. Both amp and jar based artifacts can be used. Cons: An additonal jar will be created&lt;/P&gt;
&lt;P&gt;&lt;U&gt;Here is one of the examples:&lt;/U&gt;&lt;/P&gt;
&lt;P&gt;- Add following plugin before maven-assembly-plugin in&amp;nbsp;&amp;lt;&lt;STRONG&gt;YourShareModule&lt;/STRONG&gt;&amp;gt;\&lt;STRONG&gt;pom.xml.&lt;/STRONG&gt; Note that order of plugins matter, so must be added before&amp;nbsp;maven-assembly-plugin&lt;/P&gt;
&lt;P&gt;- Add following plugin before maven-assembly-plugin in&amp;nbsp;&amp;lt;&lt;STRONG&gt;YourPlatformModule&lt;/STRONG&gt;&amp;gt;\&lt;STRONG&gt;pom.xml&lt;/STRONG&gt;. Note that order of plugins matter, so must be added before&amp;nbsp;maven-assembly-plugin&lt;/P&gt;
&lt;PRE&gt;&amp;lt;plugin&amp;gt;
	&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;
	&amp;lt;artifactId&amp;gt;maven-shade-plugin&amp;lt;/artifactId&amp;gt;
	&amp;lt;version&amp;gt;3.2.0&amp;lt;/version&amp;gt;
	&amp;lt;executions&amp;gt;
		&amp;lt;execution&amp;gt;
			&amp;lt;phase&amp;gt;package&amp;lt;/phase&amp;gt;
			&amp;lt;goals&amp;gt;
				&amp;lt;goal&amp;gt;shade&amp;lt;/goal&amp;gt;
			&amp;lt;/goals&amp;gt;
			&amp;lt;configuration&amp;gt;
				&amp;lt;filters&amp;gt;
					&amp;lt;filter&amp;gt;
						&amp;lt;artifact&amp;gt;*:*&amp;lt;/artifact&amp;gt;
						&amp;lt;excludes&amp;gt;&lt;BR /&gt;                                                        &amp;lt;!-- Exclude module.properties --&amp;gt;
&lt;STRONG&gt;							&amp;lt;exclude&amp;gt;**/alfresco/module/${project.artifactId}/module.properties&amp;lt;/exclude&amp;gt;
&lt;/STRONG&gt;					        &amp;lt;/excludes&amp;gt;
					&amp;lt;/filter&amp;gt;
				&amp;lt;/filters&amp;gt;
			&amp;lt;/configuration&amp;gt;
		&amp;lt;/execution&amp;gt;
	&amp;lt;/executions&amp;gt;
&amp;lt;/plugin&amp;gt;&lt;/PRE&gt;
&lt;P&gt;- Update platform dependency type for your platform module and includeTypes under maven-dependency-plugin's copy-dependencies goal in &amp;lt;&lt;STRONG&gt;YourPlatformModule&lt;/STRONG&gt;&amp;gt;-docker\&lt;STRONG&gt;pom.xml&lt;/STRONG&gt;,&amp;nbsp;example (see in &lt;STRONG&gt;bold&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;dependency&amp;gt;
       &amp;lt;groupId&amp;gt;com.demo&amp;lt;/groupId&amp;gt;
       &amp;lt;artifactId&amp;gt;acs71-demo-platform&amp;lt;/artifactId&amp;gt;
       &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;
        &amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt;
 &amp;lt;/dependency&amp;gt;

&amp;lt;plugin&amp;gt;
	&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;
	&amp;lt;artifactId&amp;gt;maven-dependency-plugin&amp;lt;/artifactId&amp;gt;
	&amp;lt;executions&amp;gt;
		&amp;lt;!-- Copy the repository extension and the dependencies required for execute integration tests --&amp;gt;
		&amp;lt;execution&amp;gt;
			&amp;lt;id&amp;gt;collect-test-artifacts&amp;lt;/id&amp;gt;
			&amp;lt;phase&amp;gt;pre-integration-test&amp;lt;/phase&amp;gt;
			&amp;lt;goals&amp;gt;
				&amp;lt;goal&amp;gt;copy-dependencies&amp;lt;/goal&amp;gt;
			&amp;lt;/goals&amp;gt;
			&amp;lt;configuration&amp;gt;
				&amp;lt;outputDirectory&amp;gt;${project.build.directory}/extensions&amp;lt;/outputDirectory&amp;gt;
				&amp;lt;excludeScope&amp;gt;compile&amp;lt;/excludeScope&amp;gt;
			&amp;lt;/configuration&amp;gt;
		&amp;lt;/execution&amp;gt;
		&amp;lt;!-- Collect extensions (JARs or AMPs) declared in this module do be deployed to docker --&amp;gt;
		&amp;lt;execution&amp;gt;
			&amp;lt;id&amp;gt;collect-extensions&amp;lt;/id&amp;gt;
			&amp;lt;phase&amp;gt;package&amp;lt;/phase&amp;gt;
			&amp;lt;goals&amp;gt;
				&amp;lt;goal&amp;gt;copy-dependencies&amp;lt;/goal&amp;gt;
			&amp;lt;/goals&amp;gt;
			&amp;lt;configuration&amp;gt;
				&amp;lt;outputDirectory&amp;gt;${project.build.directory}/extensions&amp;lt;/outputDirectory&amp;gt;
				&amp;lt;includeScope&amp;gt;runtime&amp;lt;/includeScope&amp;gt;
&lt;STRONG&gt;				&amp;lt;includeTypes&amp;gt;amp,jar&amp;lt;/includeTypes&amp;gt;
&lt;/STRONG&gt;				&amp;lt;!-- IMPORTANT: if using amp dependencies only, add &amp;lt;includeTypes&amp;gt;amp&amp;lt;/includeTypes&amp;gt; --&amp;gt;
			&amp;lt;/configuration&amp;gt;
		&amp;lt;/execution&amp;gt;
	&amp;lt;/executions&amp;gt;
&amp;lt;/plugin&amp;gt;&lt;/PRE&gt;
&lt;P&gt;- Update platform dependency type for your platform module and includeTypes under maven-dependency-plugin's copy-dependencies goal in &amp;lt;&lt;STRONG&gt;YourShareModule&lt;/STRONG&gt;&amp;gt;-docker\&lt;STRONG&gt;pom.xml&lt;/STRONG&gt;,&amp;nbsp;example (see in &lt;STRONG&gt;bold&lt;/STRONG&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;PRE&gt;&amp;lt;dependency&amp;gt;
       &amp;lt;groupId&amp;gt;com.demo&amp;lt;/groupId&amp;gt;
       &amp;lt;artifactId&amp;gt;acs71-demo-share&amp;lt;/artifactId&amp;gt;
       &amp;lt;version&amp;gt;1.0-SNAPSHOT&amp;lt;/version&amp;gt;
       &amp;lt;type&amp;gt;amp&amp;lt;/type&amp;gt;
 &amp;lt;/dependency&amp;gt;&lt;BR /&gt;
&amp;lt;plugin&amp;gt;
	&amp;lt;groupId&amp;gt;org.apache.maven.plugins&amp;lt;/groupId&amp;gt;
	&amp;lt;artifactId&amp;gt;maven-dependency-plugin&amp;lt;/artifactId&amp;gt;
	&amp;lt;executions&amp;gt;
		&amp;lt;!-- Collect extensions (JARs or AMPs) declared in this module do be deployed to docker --&amp;gt;
		&amp;lt;execution&amp;gt;
			&amp;lt;id&amp;gt;collect-extensions&amp;lt;/id&amp;gt;
			&amp;lt;phase&amp;gt;package&amp;lt;/phase&amp;gt;
			&amp;lt;goals&amp;gt;
				&amp;lt;goal&amp;gt;copy-dependencies&amp;lt;/goal&amp;gt;
			&amp;lt;/goals&amp;gt;
			&amp;lt;configuration&amp;gt;
				&amp;lt;outputDirectory&amp;gt;${project.build.directory}/extensions&amp;lt;/outputDirectory&amp;gt;
				&amp;lt;includeScope&amp;gt;runtime&amp;lt;/includeScope&amp;gt;
&lt;STRONG&gt;				&amp;lt;includeTypes&amp;gt;amp&amp;lt;/includeTypes&amp;gt;
&lt;/STRONG&gt;				&amp;lt;!-- IMPORTANT: if using amp dependencies only, add &amp;lt;includeTypes&amp;gt;amp&amp;lt;/includeTypes&amp;gt; --&amp;gt;
			&amp;lt;/configuration&amp;gt;
		&amp;lt;/execution&amp;gt;
	&amp;lt;/executions&amp;gt;
&amp;lt;/plugin&amp;gt;&lt;/PRE&gt;
&lt;P&gt;You can find &lt;A href="https://github.com/abhinavmishra14/acs7-sdk43-demo/commit/ec68fe902919b3b094ef86f84d800ebd75e08ccd" target="_self" rel="nofollow noopener noreferrer"&gt;examples&lt;/A&gt; here:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/acs7-sdk43-demo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/acs7-sdk43-demo&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 16:57:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133747#M36007</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-09T16:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133748#M36008</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Thanks very much for the workaround and for the informations about the use of the maven-shade-plugin. It works.&lt;BR /&gt;&lt;BR /&gt;For the plateform modules, in my case, the fact of having 2 module.properties files has no impact on the list of modules at alfresco startup logs and in the alfresco admin page summary.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;A href="http://127.0.0.1:8080/alfresco/s/enterprise/admin/admin-systemsummary" target="_blank" rel="noopener nofollow noreferrer"&gt;http://127.0.0.1:8080/alfresco/s/enterprise/admin/admin-systemsummary&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best regards.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 11:19:52 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133748#M36008</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-03-10T11:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133749#M36009</link>
      <description>&lt;P&gt;I was seeing that for platform, but at least you are unblocked.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have created profile based options here:&amp;nbsp;&lt;A href="https://github.com/abhinavmishra14/acs7-sdk43-demo" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/acs7-sdk43-demo&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;So if you would have to stick to out of the box build, you can do so.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To get the amp you need just run: &lt;A href="https://github.com/abhinavmishra14/acs7-sdk43-demo/blob/main/acs71-demo-share/pom.xml#L32" target="_self" rel="nofollow noopener noreferrer"&gt;mvn clean package -P&lt;SPAN&gt;amp-build&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:03:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133749#M36009</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-03-10T15:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: AMP Share modules created with SDK 4.1 are reported twice at ACS startup and in share admin modu</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133750#M36010</link>
      <description>&lt;P&gt;Thank you for the github link, the command and the time spent helping me.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Mar 2022 15:31:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/amp-share-modules-created-with-sdk-4-1-are-reported-twice-at-acs/m-p/133750#M36010</guid>
      <dc:creator>plarochette</dc:creator>
      <dc:date>2022-03-10T15:31:14Z</dc:date>
    </item>
  </channel>
</rss>

