Skip to content

Commit 1b23556

Browse files
Update ITs to test run mode order for configurations (as expected by AEM Analyser Plugin) (#79)
1 parent b78bbf7 commit 1b23556

4 files changed

Lines changed: 16 additions & 6 deletions

File tree

parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
<dependency>
6969
<groupId>io.wcm.devops.conga.plugins</groupId>
7070
<artifactId>io.wcm.devops.conga.plugins.sling</artifactId>
71-
<version>1.3.0</version>
71+
<version>1.3.3-SNAPSHOT</version>
7272
</dependency>
7373

7474
<dependency>

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-cloud/config-definition/pom.xml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,6 @@
202202
<goal>project-analyse</goal>
203203
</goals>
204204
<configuration>
205-
<skipAnalyserUserTasks>
206-
<!-- Special treatment for wcm.io libs with Sling-Initial-Content is in place -->
207-
<task>bundle-content</task>
208-
</skipAnalyserUserTasks>
209205
<!-- Validate "all" packages generated by CONGA -->
210206
<contentPackageFiles>
211207
<file>${project.build.directory}/cloud.all.zip</file>

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-cloud/config-definition/src/main/templates/wcmio-archetype-cloud-aem-cms/wcmio-archetype-cloud-aem-cms-config.provisioning.hbs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,20 @@
9393
instance.type="publish"
9494

9595

96+
# Example configurations with combination of run modes and environments
97+
[configurations runModes=publish,stage]
98+
io.wcm.caconfig.editor.impl.EditorConfig
99+
enabled=B"false"
100+
101+
[configurations runModes=publish,prod]
102+
io.wcm.caconfig.editor.impl.EditorConfig
103+
enabled=B"false"
104+
105+
[configurations runModes=publish,dev]
106+
io.wcm.caconfig.editor.impl.EditorConfig
107+
enabled=B"false"
108+
109+
96110
[:repoinit]
97111
# Create root folder below /apps for application
98112
create path /apps/wcmio-archetype-cloud(sling:Folder)

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-cloud/parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.wcm.maven</groupId>
77
<artifactId>io.wcm.maven.aem-global-parent</artifactId>
8-
<version>2.1.10</version>
8+
<version>2.1.11-SNAPSHOT</version>
99
<relativePath/>
1010
</parent>
1111

0 commit comments

Comments
 (0)