iar Lifecycle
The project-build-plugin has a custom build lifecycle. It's enabled by setting the <packaging>iar</packaging>
in your pom.xml.
phase | default executions |
initialize | com.axonivy.ivy.ci:project-build-plugin:installedEngine |
compile | com.axonivy.ivy.ci:project-build-plugin:compileProject |
test-compile | com.axonivy.ivy.ci:project-build-plugin:test-compile |
test | com.axonivy.ivy.ci:project-build-plugin:ivy-test-properties org.apache.maven.plugins:maven-surefire-plugin:test |
package | com.axonivy.ivy.ci:project-build-plugin:pack-iar-mojo |
deploy | org.apache.maven.plugins:maven-deploy-plugin:deploy |
iar-integration-test Lifecycle
Web integration tests against an engine can conveniently be written with minimal POM configuration.
Just change the packaging type to <packaging>iar-integration-test</packaging>
on a project that contains integration tests.
This will enable the iar-integration-test plugin goal bindings which are required to run @IvyWebTest
classes.
The iar-integration-test
lifecycle adds the following additional bindings to the normal iar
lifecycle:
pre-integration-test | com.axonivy.ivy.ci:project-build-plugin:start-test-engine com.axonivy.ivy.ci:project-build-plugin:deploy-to-test-engine |
integration-test | com.axonivy.ivy.ci:project-build-plugin:ivy-integration-test-properties org.apache.maven.plugins:maven-failsafe-plugin:integration-test |
post-integration-test | com.axonivy.ivy.ci:project-build-plugin:stop-test-engine |
verify | org.apache.maven.plugins:maven-failsafe-plugin:verify |