File tree Expand file tree Collapse file tree 9 files changed +2672
-1420
lines changed
src/test/java/com/adobe/acs/commons
src/main/resources/bundleinfo Expand file tree Collapse file tree 9 files changed +2672
-1420
lines changed Original file line number Diff line number Diff line change 306
306
<artifactId >jsr305</artifactId >
307
307
<scope >provided</scope >
308
308
</dependency >
309
+ <dependency >
310
+ <groupId >org.jetbrains</groupId >
311
+ <artifactId >annotations</artifactId >
312
+ <scope >provided</scope >
313
+ </dependency >
314
+
309
315
<!-- @PostConstruct -->
310
316
<dependency >
311
317
<groupId >javax.annotation</groupId >
372
378
</dependency >
373
379
<dependency >
374
380
<groupId >javax.mail</groupId >
375
- <artifactId >mail</artifactId >
381
+ <artifactId >javax. mail-api </artifactId >
376
382
<scope >provided</scope >
377
383
</dependency >
378
384
<!-- for com.adobe.acs.commons.logging.impl.SyslogAppender -->
581
587
<version >1.7</version >
582
588
<scope >test</scope >
583
589
</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 >
584
596
<!-- needed to override the embedded commons.osgi in org.apache.sling.models.impl -->
585
597
<dependency >
586
598
<groupId >org.apache.sling</groupId >
732
744
<dependency >
733
745
<groupId >com.adobe.aem</groupId >
734
746
<artifactId >uber-jar</artifactId >
735
- <classifier >apis</classifier >
736
747
<scope >provided</scope >
737
748
</dependency >
738
749
</dependencies >
Original file line number Diff line number Diff line change 26
26
import com .adobe .cq .dam .cfm .VariationTemplate ;
27
27
import com .adobe .cq .dam .cfm .VersionDef ;
28
28
import com .adobe .cq .dam .cfm .VersionedContent ;
29
+
30
+ import java .util .Calendar ;
29
31
import java .util .HashMap ;
30
32
import java .util .Iterator ;
31
33
import java .util .Map ;
32
34
import java .util .stream .Collectors ;
33
35
import javax .annotation .CheckForNull ;
34
36
import javax .annotation .Nonnull ;
35
37
import org .apache .sling .api .resource .Resource ;
38
+ import org .jetbrains .annotations .NotNull ;
36
39
37
40
/**
38
41
* Incomplete mock that provides just enough for basic testing
@@ -156,5 +159,11 @@ public <AdapterType> AdapterType adaptTo(@Nonnull Class<AdapterType> aClass) {
156
159
@ Override
157
160
public void removeVariation (String name ) throws ContentFragmentException {
158
161
}
162
+
163
+ @ NotNull
164
+ @ Override
165
+ public Calendar getLastModifiedDeep () throws ContentFragmentException {
166
+ return Calendar .getInstance ();
167
+ }
159
168
160
169
}
Original file line number Diff line number Diff line change 19
19
20
20
import com .adobe .cq .dam .cfm .DataType ;
21
21
import org .jetbrains .annotations .NotNull ;
22
+ import org .jetbrains .annotations .Nullable ;
22
23
23
24
public class MockDataType implements DataType {
24
25
@@ -38,4 +39,14 @@ public String getTypeString() {
38
39
public boolean isMultiValue () {
39
40
return false ;
40
41
}
42
+
43
+ @ Override
44
+ public @ Nullable String getSemanticType () {
45
+ return type ;
46
+ }
47
+
48
+ @ Override
49
+ public @ NotNull String getValueType () {
50
+ return type ;
51
+ }
41
52
}
Original file line number Diff line number Diff line change @@ -211,5 +211,10 @@ public void stopRecording(final String s) {
211
211
public String getPath () {
212
212
return WORKFLOW_PACKAGE_PATH ;
213
213
}
214
+
215
+ @ Override
216
+ public boolean hasNode (String arg0 ) {
217
+ return false ;
218
+ }
214
219
};
215
220
}
Original file line number Diff line number Diff line change 177
177
</goals >
178
178
<configuration >
179
179
<defaults >
180
- <aemVersion >6.4 </aemVersion >
180
+ <aemVersion >6.5 </aemVersion >
181
181
</defaults >
182
182
<source >${pom. basedir}/ src/ main/ script/ ExtractBundleInfo . groovy </source >
183
183
</configuration >
194
194
</plugins >
195
195
</build >
196
196
</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 >
242
197
<profile >
243
198
<id >webster-aem65</id >
244
199
<!-- to be able to execute oakpal:webster with this profile, first create a profile with the same name in
294
249
<dependency >
295
250
<groupId >org.jetbrains</groupId >
296
251
<artifactId >annotations</artifactId >
297
- <version >18.0.0</version >
298
252
<scope >provided</scope >
299
253
</dependency >
300
254
<dependency >
You can’t perform that action at this time.
0 commit comments