org.apache.sling.testing.jcr-mock
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.testing.jcr-mock</artifactId> <version>1.6.14</version> </dependency>
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.apache.sling</groupId> <artifactId>sling-bundle-parent</artifactId> <version>52</version> <relativePath /> </parent> <artifactId>org.apache.sling.testing.jcr-mock</artifactId> <version>1.6.14</version> <packaging>jar</packaging> <name>Apache Sling Testing JCR Mock</name> <description>Mock implementation of selected JCR APIs.</description> <scm> <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-jcr-mock.git</connection> <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-jcr-mock.git</developerConnection> <url>https://github.com/apache/sling-org-apache-sling-testing-jcr-mock.git</url> <tag>org.apache.sling.testing.jcr-mock-1.6.14</tag> </scm> <properties> <project.build.outputTimestamp>2024-01-22T13:50:54Z</project.build.outputTimestamp> <oak.version>1.22.15</oak.version> <jackrabbit.version>2.20.9</jackrabbit.version> </properties> <dependencies> <dependency> <groupId>org.osgi</groupId> <artifactId>org.osgi.annotation.versioning</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>javax.jcr</groupId> <artifactId>jcr</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>jackrabbit-jcr-commons</artifactId> <version>${jackrabbit.version}</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>oak-jackrabbit-api</artifactId> <version>${oak.version}</version> <scope>compile</scope> </dependency> <!-- Depend on oak-jcr to simplify Maven dependency management in downstream unit test contexts. Some of Oak's helper classes are used in jcr-mock as well. --> <dependency> <groupId>org.apache.jackrabbit</groupId> <artifactId>oak-jcr</artifactId> <version>${oak.version}</version> <scope>compile</scope> <exclusions> <exclusion> <groupId>org.osgi</groupId> <artifactId>org.osgi.annotation</artifactId> </exclusion> <exclusion> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.component.annotations</artifactId> </exclusion> <exclusion> <groupId>org.osgi</groupId> <artifactId>org.osgi.service.metatype.annotations</artifactId> </exclusion> <exclusion> <groupId>org.slf4j</groupId> <artifactId>jcl-over-slf4j</artifactId> </exclusion> </exclusions> </dependency> <!-- Required by Oak internally (Oak switches to shaded Guava in 1.52, see OAK-7182) Please do not use Guava in Mock or test code, it will be removed once possible --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>15.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>4.4</version> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>3.13.0</version> <scope>compile</scope> </dependency> <!-- Nullability annotations --> <dependency> <groupId>org.jetbrains</groupId> <artifactId>annotations</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.11.0</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>5.8.0</version> <scope>test</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>1.2.13</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-maven-plugin</artifactId> </plugin> <plugin> <groupId>biz.aQute.bnd</groupId> <artifactId>bnd-baseline-maven-plugin</artifactId> </plugin> </plugins> </build> </project>