This goal is used to upload and install bundles into a CQ repository.
The Adobe CQ Deploy Plugin can be used to install a bundle by adding the following plugin into your POM. In most cases the default configuration values will suffice for developer deployments, however a number of optional configuration values are also provided for more advanced deployments.
A special property, "app.name" can be specified to set the CQ5 application in which to load this bundle. See the path property for more information.
<plugin> <groupId>com.sixdimensions.wcm.cq</groupId> <artifactId>cq-deploy-plugin</artifactId> <version>0.1.8</version> <executions> <execution> <id>install-bundle</id> <goals> <goal>install-bundle</goal> </goals> <configuration> [...] </configuration> </execution> </executions> </plugin>
The configuration values below can be used to further configure the bundle installation process. In most cases they will not be required.
bundleFile
Location of the bundle file. Default is '${project.artifactId}-${project.version}.jar'
errorOnFailure
Flag to determine whether or not to quit and throw an error when an API call fails. Default is true.
host
The host of the server to connect to, including protocol. Default is 'http://localhost'.
password
The password to use when connecting. Default is 'admin'.
path
The path to upload the package to. If the app name is not specified the default is "/apps/bundles/install", if the app.name property is specified the path will be /apps/${app.name}/install
port
The port of the server to connect to. Default is 'admin'.
skipInstall
A flag to indicate skipping the installation of the bundle. This can be used with profiles to disable installation during the building of packages to avoid installing the bundle more than once.
user
The username to use when connecting. Default is 'admin'