Hi Amit,

On Fri, Oct 10, 2014 at 10:57 AM, Amit.. Gupta. <amitg...@adobe.com> wrote:
> Hello Team,
>
>
> I am adding a test case of [0], for this I need to use latest of
>
>
>            <groupId>org.apache.sling</groupId>
>             
> <artifactId>org.apache.sling.testing.resourceresolver-mock</artifactId>
>
> ?
>
> This introduces a dependency to sling.api:2.7.0, because of 
> resource.getValueMap
>
>
> sling event module, otherwise is quite content with older api dependency. So, 
> I don't want to introduce this higher dependency.
>
> I can explicitly give a lower bound in import, which isn't nice either. Is 
> there any other way.

Are the Event tests part of the same module? If they are, you can move
them to a different module and then test + runtime dependencies are
separated.

Robert

>
>
> Regards,
>
> Amit
>
>
> [0] https://issues.apache.org/jira/browse/SLING-4014

Reply via email to