You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@sling.apache.org by nino martinez wael <ni...@gmail.com> on 2017/10/26 12:30:06 UTC

Sling mock, maven dep point at wrong coordinates:

https://sling.apache.org/documentation/development/sling-mock.html#maven-dependency

is wrong at least for 2.x:

<dependency> <groupId>org.apache.sling</groupId> <artifactId>
org.apache.sling.testing.sling-mock</artifactId> </dependency>

should be

<dependency>
    <groupId>org.apache.sling</groupId>
    <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
</dependency>




-- 
Best regards / Med venlig hilsen
Nino Martinez

Re: Sling mock, maven dep point at wrong coordinates:

Posted by Robert Munteanu <ro...@apache.org>.
Hi,

On Thu, 2017-10-26 at 14:30 +0200, nino martinez wael wrote:
> https://sling.apache.org/documentation/development/sling-mock.html#ma
> ven-dependency
> 
> is wrong at least for 2.x:
> 
> <dependency> <groupId>org.apache.sling</groupId> <artifactId>
> org.apache.sling.testing.sling-mock</artifactId> </dependency>
> 
> should be
> 
> <dependency>
>     <groupId>org.apache.sling</groupId>
>     <artifactId>org.apache.sling.testing.osgi-mock</artifactId>
> </dependency>

Looks correct to me, we have different artifact ids for OSGi, Sling and
JCR mocks.

- https://sling.apache.org/documentation/development/osgi-mock.html
- https://sling.apache.org/documentation/development/sling-mock.html
- https://sling.apache.org/documentation/development/jcr-mock.html