added install support to classifier

This commit is contained in:
Brian Long 2022-04-04 18:05:19 -04:00
parent 48c5fb004a
commit e8592abc6f

View File

@ -237,6 +237,19 @@
<newProperty>beedk.noAmp</newProperty>
</configuration>
</execution>
<execution>
<id>check-amp-classifier-file</id>
<phase>package</phase>
<goals>
<goal>file-existence</goal>
</goals>
<configuration>
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
<trueValue>false</trueValue>
<falseValue>true</falseValue>
<newProperty>beedk.noAmpClassifier</newProperty>
</configuration>
</execution>
</executions>
</plugin>
<!-- This plugin enables/disables the AMP file during the install/deploy phases -->
@ -261,6 +274,22 @@
<skipAttach>${beedk.noAmp}</skipAttach>
</configuration>
</execution>
<execution>
<id>attach-amp-classifier</id>
<phase>verify</phase>
<goals>
<goal>attach-artifact</goal>
</goals>
<configuration>
<artifacts>
<artifact>
<type>amp</type>
<file>${project.build.directory}/${project.artifactId}-${project.version}-${alfresco.module.classifier}.amp</file>
</artifact>
</artifacts>
<skipAttach>${beedk.noAmpClassifier}</skipAttach>
</configuration>
</execution>
</executions>
</plugin>
</plugins>