conga-aem:package-install
Full name:
io.wcm.devops.conga.plugins:conga-aem-maven-plugin:2.23.5-SNAPSHOT:package-install
Description:
Installs all AEM content packages and OSGi bundles to AEM which are referenced in a model.yaml generated by CONGA for a node.
Attributes:
- The goal is thread-safe and supports parallel builds.
Required Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<nodeDirectory> |
File |
- |
Directory with the generated CONGA configuration containing the model.yaml. User Property: conga.nodeDirectory |
<serviceURL> |
String |
- |
The URL of the HTTP service API of the CRX package manager.
See CRX HTTP service Interface for details on this interface. Default: http://localhost:4502/crx/packmgr/serviceUser Property: vault.serviceURL |
<slingPluginVersion> |
String |
- |
Version of Sling plugin Default: 2.4.2User Property: sling.plugin.version |
Optional Parameters
| Name | Type | Since | Description |
|---|---|---|---|
<bundleStatusBlacklistBundleNames> |
String[] |
- |
Patterns for symbolic names of bundles that are expected to be not present in bundle list. If any of these bundles are found in the bundle list, this system is assumed as not ready for installing further packages because a previous installation (e.g. of AEM service pack) is still in progress. Default: ^updater\.aem.*$User Property: vault.bundleStatusBlacklistBundleNames |
<bundleStatusURL> |
String |
- |
Bundle status JSON URL. If an URL is configured the activation status of all bundles in the system is checked before it is tried to upload and install a new package and after each upload.
If not all bundles are activated the upload is delayed up to Expected is an URL like: http://localhost:4502/system/console/bundles/.json If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled. User Property: vault.bundleStatusURL |
<bundleStatusWaitLimit> |
int |
- |
Number of seconds to wait as maximum for a positive bundle status check. If this limit is reached and the bundle status is still not positive the install of the package proceeds anyway. Default: 360User Property: vault.bundleStatusWaitLimit |
<bundleStatusWhitelistBundleNames> |
String[] |
- |
Patterns for symbolic names of bundles that are ignored in bundle list. The state of these bundles has no effect on the bundle status check. Default: ^com\.day\.crx\.crxde-support$,^com\.adobe\.granite\.crx-explorer$,^com\.adobe\.granite\.crxde-lite$,^org\.apache\.sling\.jcr\.webdav$,^org\.apache\.sling\.jcr\.davex$User Property: vault.bundleStatusWhitelistBundleNames |
<consoleOauth2AccessToken> |
String |
- |
OAuth 2 access token to authenticate against the remote CRX system (Felix console). If this is configured, username and password are ignored. Defaults to value from authenticationBearerToken.User Property: console.consoleOauth2AccessToken |
<consolePassword> |
String |
- |
The password to authenticate against the remote CRX system (Felix console). Defaults to the value from password.User Property: console.password |
<consoleUserId> |
String |
- |
The user name to authenticate as against the remote CRX system (Felix console). Defaults to the value from userId.User Property: console.userId |
<delayAfterInstallSec> |
Integer |
- |
Delay further steps after package installation by this amount of seconds User Property: vault.delayAfterInstallSec |
<force> |
Boolean |
- |
Force upload and install of content package. If set to:
User Property: vault.force |
<httpConnectTimeoutSec> |
int |
- |
HTTP connection timeout (in seconds). Default: 10User Property: vault.httpConnectTimeoutSec |
<httpSocketTimeout> |
int |
- |
HTTP socket timeout (in seconds). Default: 60User Property: vault.httpSocketTimeoutSec |
<install> |
boolean |
- |
Whether to install (unpack) the uploaded package automatically or not. Default: trueUser Property: vault.install |
<oauth2AccessToken> |
String |
- |
OAuth 2 access token to authenticate against the remote CRX system (package manager). If this is configured, username and password are ignored. User Property: vault.oauth2AccessToken |
<packageManagerInstallStatusURL> |
String |
- |
Package Manager install status JSON URL. If an URL is configured the installation status of packages and embedded packages is checked before it is tried to upload and install a new package and after each upload.
If not all packages are installed the upload is delayed up to Expected is an URL like: http://localhost:4502/crx/packmgr/installstatus.jsp If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled. User Property: vault.packageManagerInstallStatusURL |
<packageManagerInstallStatusWaitLimit> |
int |
- |
Number of seconds to wait as maximum for a positive package manager install status check. If this limit is reached and the package manager status is still not positive the install of the package proceeds anyway. Default: 360User Property: vault.packageManagerInstallStatusWaitLimit |
<packageManagerOutputLogLevel> |
String |
- |
Log level to be used to log responses from package manager (which may get huge for large packages). Possible values are INFO (default) or DEBUG. Default: INFOUser Property: vault.packageManagerOutputLogLevel |
<password> |
String |
- |
The password to authenticate against the remote CRX system (package manager). Default: adminUser Property: vault.password |
<recursive> |
boolean |
- |
If set to true nested packages get installed as well. Default: trueUser Property: vault.recursive |
<relaxedSSLCheck> |
boolean |
- |
If set to true also self-signed certificates are accepted. Default: falseUser Property: vault.relaxedSSLCheck |
<replicate> |
boolean |
- |
Replicate package(s) to publish instance after upload. User Property: vault.replicatePackage |
<retryCount> |
int |
- |
Number of times to retry upload and install via CRX HTTP interface if it fails. Default: 24User Property: vault.retryCount |
<retryDelay> |
int |
- |
Number of seconds between retry attempts. Default: 5User Property: vault.retryDelay |
<skip> |
boolean |
- |
Set this to "true" to skip installing packages to CRX although configured in the POM. Default: falseUser Property: vault.skip |
<systemReadyURL> |
String |
- |
System ready JSON URL. If an URL is configured the systemready status of the target instance is checked after installing finishing the upload. This works only for AEMaaCS SDK instances.
Expected is an URL like: http://localhost:4502/systemready.json If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled. User Property: vault.systemReadyURL |
<systemReadyWaitLimitSec> |
int |
- |
Number of seconds to wait as maximum for a positive system ready check. If this limit is reached and the system ready is still not positive the install of the package proceeds anyway. Default: 30User Property: vault.systemReadyWaitLimitSec |
<userId> |
String |
- |
The user name to authenticate as against the remote CRX system (package manager). Default: adminUser Property: vault.userId |
Parameter Details
<bundleStatusBlacklistBundleNames>
- Type:
java.lang.String[] - Required:
No - User Property:
vault.bundleStatusBlacklistBundleNames - Default:
^updater\.aem.*$
<bundleStatusURL>
If not all bundles are activated the upload is delayed up to bundleStatusWaitLimit seconds, every 5 seconds the activation status is checked anew.
Expected is an URL like: http://localhost:4502/system/console/bundles/.json
If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled.
- Type:
java.lang.String - Required:
No - User Property:
vault.bundleStatusURL
<bundleStatusWaitLimit>
- Type:
int - Required:
No - User Property:
vault.bundleStatusWaitLimit - Default:
360
<bundleStatusWhitelistBundleNames>
- Type:
java.lang.String[] - Required:
No - User Property:
vault.bundleStatusWhitelistBundleNames - Default:
^com\.day\.crx\.crxde-support$,^com\.adobe\.granite\.crx-explorer$,^com\.adobe\.granite\.crxde-lite$,^org\.apache\.sling\.jcr\.webdav$,^org\.apache\.sling\.jcr\.davex$
<consoleOauth2AccessToken>
authenticationBearerToken.
- Type:
java.lang.String - Required:
No - User Property:
console.consoleOauth2AccessToken
<consolePassword>
password.
- Type:
java.lang.String - Required:
No - User Property:
console.password
<consoleUserId>
userId.
- Type:
java.lang.String - Required:
No - User Property:
console.userId
<delayAfterInstallSec>
- Type:
java.lang.Integer - Required:
No - User Property:
vault.delayAfterInstallSec
<force>
true: Package is always installed, even if it was already uploaded before.false: Package is only installed if it was not already uploade before.- nothing (default): Force is applied to packages with the string "-SNAPSHOT" in it's filename.
- Type:
java.lang.Boolean - Required:
No - User Property:
vault.force
<httpConnectTimeoutSec>
- Type:
int - Required:
No - User Property:
vault.httpConnectTimeoutSec - Default:
10
<httpSocketTimeout>
- Type:
int - Required:
No - User Property:
vault.httpSocketTimeoutSec - Default:
60
<install>
- Type:
boolean - Required:
No - User Property:
vault.install - Default:
true
<nodeDirectory>
- Type:
java.io.File - Required:
Yes - User Property:
conga.nodeDirectory
<oauth2AccessToken>
- Type:
java.lang.String - Required:
No - User Property:
vault.oauth2AccessToken
<packageManagerInstallStatusURL>
If not all packages are installed the upload is delayed up to packageManagerInstallStatusWaitLimit seconds, every 5 seconds the installation status is checked anew.
Expected is an URL like: http://localhost:4502/crx/packmgr/installstatus.jsp
If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled.
- Type:
java.lang.String - Required:
No - User Property:
vault.packageManagerInstallStatusURL
<packageManagerInstallStatusWaitLimit>
- Type:
int - Required:
No - User Property:
vault.packageManagerInstallStatusWaitLimit - Default:
360
<packageManagerOutputLogLevel>
- Type:
java.lang.String - Required:
No - User Property:
vault.packageManagerOutputLogLevel - Default:
INFO
<password>
- Type:
java.lang.String - Required:
No - User Property:
vault.password - Default:
admin
<recursive>
- Type:
boolean - Required:
No - User Property:
vault.recursive - Default:
true
<relaxedSSLCheck>
- Type:
boolean - Required:
No - User Property:
vault.relaxedSSLCheck - Default:
false
<replicate>
- Type:
boolean - Required:
No - User Property:
vault.replicatePackage
<retryCount>
- Type:
int - Required:
No - User Property:
vault.retryCount - Default:
24
<retryDelay>
- Type:
int - Required:
No - User Property:
vault.retryDelay - Default:
5
<serviceURL>
See CRX HTTP service Interface for details on this interface.
- Type:
java.lang.String - Required:
Yes - User Property:
vault.serviceURL - Default:
http://localhost:4502/crx/packmgr/service
<skip>
- Type:
boolean - Required:
No - User Property:
vault.skip - Default:
false
<slingPluginVersion>
- Type:
java.lang.String - Required:
Yes - User Property:
sling.plugin.version - Default:
2.4.2
<systemReadyURL>
Expected is an URL like: http://localhost:4502/systemready.json
If the URL is not set it is derived from serviceURL. If set to "-" the status check is disabled.
- Type:
java.lang.String - Required:
No - User Property:
vault.systemReadyURL
<systemReadyWaitLimitSec>
- Type:
int - Required:
No - User Property:
vault.systemReadyWaitLimitSec - Default:
30
<userId>
- Type:
java.lang.String - Required:
No - User Property:
vault.userId - Default:
admin