fixed install/deploy enable/disable for AMPs

This commit is contained in:
2021-05-18 12:37:50 -04:00
parent ac67f46408
commit d13678e9e0
2 changed files with 36 additions and 5 deletions
+34 -1
View File
@@ -56,7 +56,7 @@
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>regex-maven-plugin</artifactId>
<version>1.0.1</version>
<version>1.0.2</version>
<executions>
<execution>
<id>string-2-boolean-1</id>
@@ -112,6 +112,39 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.inteligr8</groupId>
<artifactId>conditional-maven-plugin</artifactId>
<version>1.0.0</version>
<executions>
<execution>
<id>amp-install-phase</id>
<phase>initialize</phase>
<goals>
<goal>boolean-property</goal>
</goals>
<configuration>
<booleanProperty>beedk.jar.notest.empty</booleanProperty>
<trueValue>none</trueValue>
<falseValue>install</falseValue>
<newProperty>amp.install.phase</newProperty>
</configuration>
</execution>
<execution>
<id>amp-deploy-phase</id>
<phase>initialize</phase>
<goals>
<goal>boolean-property</goal>
</goals>
<configuration>
<booleanProperty>beedk.jar.notest.empty</booleanProperty>
<trueValue>none</trueValue>
<falseValue>deploy</falseValue>
<newProperty>amp.deploy.phase</newProperty>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>