Base project IT mojo defining common mojo parameters and methods for enabling/disabling traffic to the configured integration test server for goals bound to the integration test phase of the default content-package-with-IT lifecycle
Base mojo class
Base Sling Junit Mojo class
"content-package-it" ArtifactHandler
that simply wraps the component defined by the
content-package-maven-plugin
"content-package-it" LifecycleMapping
implementation designed to merge explicit integration-test phase mappings
with whatever the "content-package" LifecycleMapping
component defines
Initializes the Sling Junit Framework support by creating a test resource on the server, setting the sling junit servlet User property for the maven-failsafe-plugin execution, and waiting for junit servlet readiness
Downloads the jacoco runtime data from the server using Sling JacocoServlet, which was introduced in org.
Resets the remote jacoco data prior to execution of the integration-test phase.
Exports HTTP properties defined in HttpParameters
and the active Maven Proxy configuration for integration
tests to use via java.lang.System#getProperties
.
Uploads the project content-package artifact to the configured IT server
Upload the sling junit framework bundles necessary for SlingRemoteTest execution, including: org.
Upload integration test dependencies, including content-packages and OSGi bundles, to the configured integration test server.
Waits for server readiness before continuing on to integration-test phase.
Constants for the ContentPackageITLifecycleMapping
component