You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Oliver Lietz <ap...@oliverlietz.de> on 2018/01/29 14:19:29 UTC

Re: [paxexam] Sling version resolver

On Monday 29 January 2018 13:50:29 Nicolas Peltier wrote:
> Hey,
> 
> Would that be possible to have sling version resolver checking up versions
> of the caller project instead of having to have them statically
> implemented?

http://sling.apache.org/documentation/development/testing-paxexam.html#overriding-or-adding-versions

SlingOptions.versionResolver.setVersionFromProject(SLING_GROUP_ID, 
"org.apache.sling.query");

O.

> Nicolas


Re: [paxexam] Sling version resolver

Posted by Nicolas Peltier <pe...@gmail.com>.
great, thx!

2018-01-29 15:19 GMT+01:00 Oliver Lietz <ap...@oliverlietz.de>:

> On Monday 29 January 2018 13:50:29 Nicolas Peltier wrote:
> > Hey,
> >
> > Would that be possible to have sling version resolver checking up
> versions
> > of the caller project instead of having to have them statically
> > implemented?
>
> http://sling.apache.org/documentation/development/testing-paxexam.html#
> overriding-or-adding-versions
>
> SlingOptions.versionResolver.setVersionFromProject(SLING_GROUP_ID,
> "org.apache.sling.query");
>
> O.
>
> > Nicolas
>
>