Skip to content

Commit a46c0a3

Browse files
committed
conga-aem-maven-plugin: Add "Bundle Status Whitelist Bundle Names" property to define list of bundles ignored by bundle status check.
1 parent 5947ee4 commit a46c0a3

3 files changed

Lines changed: 18 additions & 6 deletions

File tree

changes.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323
xsi:schemaLocation="http://maven.apache.org/changes/1.0.0 http://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd">
2424
<body>
2525

26+
<release version="1.9.0" date="not released">
27+
<action type="add" dev="sseifert" issue="WTOOL-52">
28+
conga-aem-maven-plugin: Add "Bundle Status Whitelist Bundle Names" property to define list of bundles ignored by bundle status check.
29+
</action>
30+
</release>
31+
2632
<release version="1.8.14" date="2019-05-08">
2733
<action type="update" dev="sseifert">
2834
aem-contentpackage-properties plugin: Also support "jar" file extension for AEM content packages (but only when explicitly defined as post processor).

tooling/conga-aem-maven-plugin/pom.xml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,10 @@
9191
<version>3.2</version>
9292
<scope>provided</scope>
9393
</dependency>
94-
<dependency>
95-
<groupId>org.yaml</groupId>
96-
<artifactId>snakeyaml</artifactId>
97-
<version>1.17</version>
98-
</dependency>
9994
<dependency>
10095
<groupId>io.wcm.tooling.commons</groupId>
10196
<artifactId>io.wcm.tooling.commons.crx-packmgr-helper</artifactId>
102-
<version>1.5.10</version>
97+
<version>1.5.11-SNAPSHOT</version>
10398
<scope>compile</scope>
10499
</dependency>
105100
</dependencies>

tooling/conga-aem-maven-plugin/src/main/java/io/wcm/devops/conga/plugins/aem/maven/AbstractContentPackageMojo.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,16 @@ abstract class AbstractContentPackageMojo extends AbstractMojo {
119119
@Parameter(property = "vault.bundleStatusBlacklistBundleNames", defaultValue = "^updater\\.aem.*$")
120120
private String[] bundleStatusBlacklistBundleNames;
121121

122+
/**
123+
* Patterns for symbolic names of bundles that are ignored in bundle list.
124+
* The state of these bundles has no effect on the bundle status check.
125+
*/
126+
@Parameter(property = "vault.bundleStatusWhitelistBundleNames",
127+
defaultValue = "^com\\.day\\.crx\\.crxde-support$,"
128+
+ "^com\\.adobe\\.granite\\.crx-explorer$,"
129+
+ "^com\\.adobe\\.granite\\.crxde-lite$")
130+
private String[] bundleStatusWhitelistBundleNames;
131+
122132
/**
123133
* If set to true also self-signed certificates are accepted.
124134
*/
@@ -158,6 +168,7 @@ protected PackageManagerProperties getPackageManagerProperties() throws MojoExec
158168
props.setBundleStatusUrl(buildBundleStatusUrl());
159169
props.setBundleStatusWaitLimitSec(this.bundleStatusWaitLimit);
160170
props.setBundleStatusBlacklistBundleNames(ImmutableList.copyOf(this.bundleStatusBlacklistBundleNames));
171+
props.setBundleStatusWhitelistBundleNames(ImmutableList.copyOf(this.bundleStatusWhitelistBundleNames));
161172
props.setRelaxedSSLCheck(this.relaxedSSLCheck);
162173
props.setHttpConnectTimeoutSec(this.httpConnectTimeoutSec);
163174
props.setHttpSocketTimeoutSec(this.httpSocketTimeout);

0 commit comments

Comments
 (0)