Skip to content

Commit 8e21773

Browse files
committed
update integration tests to latest archetype/versions
1 parent ebb0067 commit 8e21773

69 files changed

Lines changed: 481 additions & 219 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/archetype-params.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
mvn org.apache.maven.plugins:maven-archetype-plugin:3.1.0:generate -DinteractiveMode=false \
22
-DarchetypeGroupId=io.wcm.maven.archetypes \
33
-DarchetypeArtifactId=io.wcm.maven.archetypes.aem \
4-
-DarchetypeVersion=3.6.0-SNAPSHOT \
4+
-DarchetypeVersion=3.6.7-SNAPSHOT \
55
-DprojectName=wcmio-archetype-aem65 \
66
-DgroupId=io.wcm.devops.conga.plugins.aem.it \
77
-DartifactId=io.wcm.devops.conga.plugins.aem.it.aem65 \

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/archetype.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ aemPublishPort=4503
1414
optionAemVersion=6.5
1515
optionJavaVersion=8
1616
optionAemServicePack=n
17+
optionAemServicePackAPI=n
1718
optionSlingModelsLatest=y
1819
optionSlingInitialContentBundle=y
1920
optionEditableTemplates=y
@@ -22,5 +23,5 @@ optionContextAwareConfig=y
2223
optionFrontend=n
2324
optionNodeJsPlugin=n
2425
optionWcmioHandler=y
25-
optionAcsCommons=n
26+
optionAcsCommons=y
2627
optionIntegrationTests=n

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/bundles/core/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,11 @@
172172
<artifactId>core.wcm.components.core</artifactId>
173173
<scope>compile</scope>
174174
</dependency>
175+
<dependency>
176+
<groupId>com.adobe.acs</groupId>
177+
<artifactId>acs-aem-commons-bundle</artifactId>
178+
<scope>compile</scope>
179+
</dependency>
175180

176181
<!-- AEM dependencies provided - so each project has full control about their positions (should always be last in the list). -->
177182
<dependency>

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,20 @@
5757
<scope>compile</scope>
5858
</dependency>
5959

60+
<!-- ACS AEM Commons -->
61+
<dependency>
62+
<groupId>com.adobe.acs</groupId>
63+
<artifactId>acs-aem-commons-ui.apps</artifactId>
64+
<type>zip</type>
65+
<scope>compile</scope>
66+
</dependency>
67+
<dependency>
68+
<groupId>com.adobe.acs</groupId>
69+
<artifactId>acs-aem-commons-ui.content</artifactId>
70+
<type>zip</type>
71+
<scope>compile</scope>
72+
</dependency>
73+
6074
</dependencies>
6175

6276
<build>

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/config-definition/src/main/environments/local.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ nodes:
2121

2222
config:
2323
contentPackage.group: it
24+
2425
app:
2526
# Default log level for application code
2627
logLevel: info

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/config-definition/src/main/roles/wcmio-archetype-aem65-aem-cms.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,16 @@ files:
1717
- url: mvn:com.adobe.cq/core.wcm.components.all//zip
1818
dir: packages
1919

20+
# ACS AEM Commons
21+
- url: mvn:com.adobe.acs/acs-aem-commons-ui.apps//zip
22+
dir: packages
23+
postProcessorOptions:
24+
contentPackage.packageType: application
25+
- url: mvn:com.adobe.acs/acs-aem-commons-ui.content//zip
26+
dir: packages
27+
postProcessorOptions:
28+
contentPackage.packageType: content
29+
2030
# AEM OSGi System Configuration
2131
- file: wcmio-archetype-aem65-aem-cms-config.provisioning
2232
dir: packages

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
"io.wcm.devops.conga.plugins.aem.it.aem65.config.impl.MediaFormatProviderImpl", \
4949
"io.wcm.devops.conga.plugins.aem.it.aem65.config.impl.MediaHandlerConfigImpl", \
5050
"io.wcm.caconfig.extensions.contextpath.impl.RootTemplateContextPathStrategy", \
51-
"io.wcm.caconfig.extensions.persistence.impl.PagePersistenceStrategy"]
51+
"io.wcm.caconfig.extensions.persistence.impl.PagePersistenceStrategy",
52+
"io.wcm.handler.mediasource.dam.impl.dynamicmedia.DynamicMediaSupportServiceImpl"]
5253

5354
[configurations runModes=author]
5455

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/content-packages/complete/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,13 @@
7878
<scope>provided</scope>
7979
</dependency>
8080

81+
<!-- ACS AEM Commons -->
82+
<dependency>
83+
<groupId>com.adobe.acs</groupId>
84+
<artifactId>acs-aem-commons-bundle</artifactId>
85+
<scope>compile</scope>
86+
</dependency>
87+
8188
</dependencies>
8289

8390
<build>
@@ -135,6 +142,16 @@
135142
</artifactId>
136143
<type>jar</type>
137144
</embedded>
145+
<!-- ACS AEM Commons -->
146+
<embedded>
147+
<groupId>
148+
com.adobe.acs
149+
</groupId>
150+
<artifactId>
151+
acs-aem-commons-bundle
152+
</artifactId>
153+
<type>jar</type>
154+
</embedded>
138155
</embeddeds>
139156

140157
</configuration>

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/content-packages/conf-content/jcr_root/conf/wcmio-archetype-aem65/settings/wcm/policies/.content.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<jcr:content
1717
jcr:primaryType="nt:unstructured"
1818
jcr:mixinTypes="[cq:ReplicationStatus]"
19-
cq:lastReplicated="{Date}2022-05-05T00:00:00.000+02:00"
19+
cq:lastReplicated="{Date}2022-10-18T00:00:00.000+02:00"
2020
cq:lastReplicationAction="Activate"/>
2121
</root-container>
2222
<experience-fragment
@@ -27,7 +27,7 @@
2727
<jcr:content
2828
jcr:primaryType="nt:unstructured"
2929
jcr:mixinTypes="[cq:ReplicationStatus]"
30-
cq:lastReplicated="{Date}2022-05-05T00:00:00.000+02:00"
30+
cq:lastReplicated="{Date}2022-10-18T00:00:00.000+02:00"
3131
cq:lastReplicationAction="Activate"/>
3232
<cq:authoring jcr:primaryType="nt:unstructured">
3333
<assetToComponentMapping jcr:primaryType="nt:unstructured">
@@ -48,7 +48,7 @@
4848
<jcr:content
4949
jcr:primaryType="nt:unstructured"
5050
jcr:mixinTypes="[cq:ReplicationStatus]"
51-
cq:lastReplicated="{Date}2022-05-05T00:00:00.000+02:00"
51+
cq:lastReplicated="{Date}2022-10-18T00:00:00.000+02:00"
5252
cq:lastReplicationAction="Activate"/>
5353
<cq:authoring jcr:primaryType="nt:unstructured">
5454
<assetToComponentMapping jcr:primaryType="nt:unstructured">

tooling/conga-aem-maven-plugin/src/it/wcmio-archetype-aem65/content-packages/conf-content/jcr_root/conf/wcmio-archetype-aem65/settings/wcm/templates/contentpage/.content.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
ranking="{Long}10"
1010
status="enabled"
1111
jcr:mixinTypes="[cq:ReplicationStatus]"
12-
cq:lastReplicated="{Date}2022-05-05T00:00:00.000+02:00"
12+
cq:lastReplicated="{Date}2022-10-18T00:00:00.000+02:00"
1313
cq:lastReplicationAction="Activate"/>
1414
</jcr:root>

0 commit comments

Comments
 (0)