*** The wcm.io Project is closing down this JIRA Instance in favor of GitHub issues. *** Please use the corresponding GitHub projects to report issues - or the mailing list for general discussion.

Support for Sling Models Via Types

Description

It looks like the dependency tree of AEM Mocks 2.7.0 is pointing to a pretty old release of Sling Models Implementation:

[INFO] \- io.wcm:io.wcm.testing.aem-mock.junit4:jar:2.7.0:test [INFO] +- io.wcm:io.wcm.testing.aem-mock.core:jar:2.7.0:test ... [INFO] | +- org.apache.sling:org.apache.sling.models.impl:jar:1.2.2:test

To support Via Types at least implementation API 1.3.4 and Impl 1.4.0 is required. See

https://sling.apache.org/documentation/bundles/models.html#via-types-since-api-134-implementation-140

Can we update the dependency, maybe releasing a new major version when it is a too big change?

Activity

Show:

Stefan Seifert September 11, 2019 at 10:13 AM

this question pops up quite often, if create a a new documentation page for this topic:
https://wcm.io/testing/aem-mock/usage-maven-dependencies.html

so as a management summary: the old dependencies that are included are "by design" to support a wider range of AEM versions, you have to manage the versions yourself in your project matching the AEM version you are using, and the AEM Dependency POMs provides by wcm.io make this an easy task.

Done

Details

Assignee

Reporter

Components

Priority

Created September 11, 2019 at 7:59 AM
Updated October 2, 2019 at 11:44 AM
Resolved September 17, 2019 at 12:00 PM