Skip to content

Commit ef801b4

Browse files
committed
Update AEM dependencies to 6.5.10
1 parent 40a4001 commit ef801b4

File tree

9 files changed

+2672
-1420
lines changed

9 files changed

+2672
-1420
lines changed

bundle/pom.xml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,12 @@
306306
<artifactId>jsr305</artifactId>
307307
<scope>provided</scope>
308308
</dependency>
309+
<dependency>
310+
<groupId>org.jetbrains</groupId>
311+
<artifactId>annotations</artifactId>
312+
<scope>provided</scope>
313+
</dependency>
314+
309315
<!-- @PostConstruct -->
310316
<dependency>
311317
<groupId>javax.annotation</groupId>
@@ -372,7 +378,7 @@
372378
</dependency>
373379
<dependency>
374380
<groupId>javax.mail</groupId>
375-
<artifactId>mail</artifactId>
381+
<artifactId>javax.mail-api</artifactId>
376382
<scope>provided</scope>
377383
</dependency>
378384
<!-- for com.adobe.acs.commons.logging.impl.SyslogAppender -->
@@ -581,6 +587,12 @@
581587
<version>1.7</version>
582588
<scope>test</scope>
583589
</dependency>
590+
<dependency>
591+
<groupId>com.sun.mail</groupId>
592+
<artifactId>javax.mail</artifactId>
593+
<version>1.6.2</version>
594+
<scope>test</scope>
595+
</dependency>
584596
<!-- needed to override the embedded commons.osgi in org.apache.sling.models.impl -->
585597
<dependency>
586598
<groupId>org.apache.sling</groupId>
@@ -732,7 +744,6 @@
732744
<dependency>
733745
<groupId>com.adobe.aem</groupId>
734746
<artifactId>uber-jar</artifactId>
735-
<classifier>apis</classifier>
736747
<scope>provided</scope>
737748
</dependency>
738749
</dependencies>

bundle/src/test/java/com/adobe/acs/commons/mcp/impl/processes/cfi/MockContentFragment.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,16 @@
2626
import com.adobe.cq.dam.cfm.VariationTemplate;
2727
import com.adobe.cq.dam.cfm.VersionDef;
2828
import com.adobe.cq.dam.cfm.VersionedContent;
29+
30+
import java.util.Calendar;
2931
import java.util.HashMap;
3032
import java.util.Iterator;
3133
import java.util.Map;
3234
import java.util.stream.Collectors;
3335
import javax.annotation.CheckForNull;
3436
import javax.annotation.Nonnull;
3537
import org.apache.sling.api.resource.Resource;
38+
import org.jetbrains.annotations.NotNull;
3639

3740
/**
3841
* Incomplete mock that provides just enough for basic testing
@@ -156,5 +159,11 @@ public <AdapterType> AdapterType adaptTo(@Nonnull Class<AdapterType> aClass) {
156159
@Override
157160
public void removeVariation(String name) throws ContentFragmentException {
158161
}
162+
163+
@NotNull
164+
@Override
165+
public Calendar getLastModifiedDeep() throws ContentFragmentException {
166+
return Calendar.getInstance();
167+
}
159168

160169
}

bundle/src/test/java/com/adobe/acs/commons/mcp/impl/processes/cfi/MockDataType.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919

2020
import com.adobe.cq.dam.cfm.DataType;
2121
import org.jetbrains.annotations.NotNull;
22+
import org.jetbrains.annotations.Nullable;
2223

2324
public class MockDataType implements DataType {
2425

@@ -38,4 +39,14 @@ public String getTypeString() {
3839
public boolean isMultiValue() {
3940
return false;
4041
}
42+
43+
@Override
44+
public @Nullable String getSemanticType() {
45+
return type;
46+
}
47+
48+
@Override
49+
public @NotNull String getValueType() {
50+
return type;
51+
}
4152
}

bundle/src/test/java/com/adobe/acs/commons/workflow/impl/WorkflowPackageManagerImplTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,5 +211,10 @@ public void stopRecording(final String s) {
211211
public String getPath() {
212212
return WORKFLOW_PACKAGE_PATH;
213213
}
214+
215+
@Override
216+
public boolean hasNode(String arg0) {
217+
return false;
218+
}
214219
};
215220
}

oakpal-checks/pom.xml

Lines changed: 1 addition & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@
177177
</goals>
178178
<configuration>
179179
<defaults>
180-
<aemVersion>6.4</aemVersion>
180+
<aemVersion>6.5</aemVersion>
181181
</defaults>
182182
<source>${pom.basedir}/src/main/script/ExtractBundleInfo.groovy</source>
183183
</configuration>
@@ -194,51 +194,6 @@
194194
</plugins>
195195
</build>
196196
</profile>
197-
<profile>
198-
<id>webster-aem64</id>
199-
<!-- to be able to execute oakpal:webster with this profile, first create a profile with the same name in
200-
your settings.xml file that sets a "webster.repositoryHome" property with an absolute path to the
201-
crx-quickstart/repository directory of a locally-installed AEM 6.4 server. -->
202-
<build>
203-
<plugins>
204-
<plugin>
205-
<groupId>net.adamcin.oakpal</groupId>
206-
<artifactId>oakpal-maven-plugin</artifactId>
207-
<configuration>
208-
<websterTargets>
209-
<checklist>
210-
<file>src/main/resources/OAKPAL-INF/checklist/content-class-aem64.json</file>
211-
<config>
212-
<jcrNamespaces>
213-
<namespace>
214-
<prefix>granite</prefix>
215-
<uri>http://www.adobe.com/jcr/granite/1.0</uri>
216-
</namespace>
217-
</jcrNamespaces>
218-
<selectNodeTypes>
219-
<type>granite:PublicArea</type>
220-
<type>granite:FinalArea</type>
221-
<type>granite:InternalArea</type>
222-
<type>granite:AbstractArea</type>
223-
</selectNodeTypes>
224-
<nodeTypeFilters>
225-
<filter>
226-
<type>exclude</type>
227-
<pattern>nt:file</pattern>
228-
</filter>
229-
<filter>
230-
<type>exclude</type>
231-
<pattern>nt:resource</pattern>
232-
</filter>
233-
</nodeTypeFilters>
234-
</config>
235-
</checklist>
236-
</websterTargets>
237-
</configuration>
238-
</plugin>
239-
</plugins>
240-
</build>
241-
</profile>
242197
<profile>
243198
<id>webster-aem65</id>
244199
<!-- to be able to execute oakpal:webster with this profile, first create a profile with the same name in
@@ -294,7 +249,6 @@
294249
<dependency>
295250
<groupId>org.jetbrains</groupId>
296251
<artifactId>annotations</artifactId>
297-
<version>18.0.0</version>
298252
<scope>provided</scope>
299253
</dependency>
300254
<dependency>

0 commit comments

Comments
 (0)