On Wednesday 09 November 2016 09:42:09 Julian Sedding wrote: > Hi Olli hi Julian,
> The dependency to o.a.sling.api is only used for test, not for > compile. The package o.a.sling.api is also not present in the > oak-server bundle's import headers. So removing 2.3.0 (scope provided) > should be safe IMHO. (SLING-6262) > Of course we can remove both dependencies from the pom and instead set > 2.15.0 in OakServerTestSupport. Yes, in that case we should remove both and also clean up the other temporary snapshots. I will come up with a new release of Testing PaxExam soon, so we can remove all version overrides. Regards, O. > Regards > Julian > > PS: I created SLING-6262 to track this. > > On Wed, Nov 9, 2016 at 9:37 AM, Oliver Lietz <[email protected]> wrote: > > On Wednesday 09 November 2016 09:16:40 Julian Sedding wrote: > >> Hi all > > > > hi Julian, > > > >> oak-server has a dependency to o.a.sling.api-2.3.0 and a test scoped > >> dependency to o.a.sling.api-2.15.0. IFAIK maven cannot handle two > >> different versions, even if in different scopes. > >> > >> Removing the 2.3.0 dependency and leaving the to 2.15.0 test > >> dependency allows the build to pass. > >> > >> Anyone opposed to this change? > > > > we had a discussion about dependency versions and agreed on using the > > minimal version for compile. So keeping 2.3.0 in POM and setting the > > version to 2.15.0 in OakServerTestSupport for tests is probably the > > better solution. > > > > Regards, > > O. > > > >> Regards > >> Julian
