fixed install/deploy for AMPs

This commit is contained in:
2021-05-17 22:06:39 -04:00
parent 61b7e6d728
commit ac67f46408

View File

@@ -217,6 +217,48 @@
</execution>
</executions>
</plugin>
<!-- This plugin amends the default install and includes the built AMP. -->
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>3.0.0-M1</version>
<executions>
<!-- install the AMP -->
<execution>
<id>install-amp</id>
<phase>install</phase>
<goals><goal>install-file</goal></goals>
<configuration>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<packaging>amp</packaging>
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
<skip>${beedk.jar.notest.empty}</skip>
</configuration>
</execution>
</executions>
</plugin>
<!-- This plugin amends the default deploy and includes the built AMP. -->
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>3.0.0-M1</version>
<executions>
<!-- deploy the AMP -->
<execution>
<id>deploy-amp</id>
<phase>deploy</phase>
<goals><goal>deploy-file</goal></goals>
<configuration>
<groupId>${project.groupId}</groupId>
<artifactId>${project.artifactId}</artifactId>
<version>${project.version}</version>
<packaging>amp</packaging>
<file>${project.build.directory}/${project.artifactId}-${project.version}.amp</file>
<skip>${beedk.jar.notest.empty}</skip>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>