| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| 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/maven-v4_0_0.xsd"> |
| |
| <modelVersion>4.0.0</modelVersion> |
| <parent> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>sling-bundle-parent</artifactId> |
| <version>48</version> |
| <relativePath /> |
| </parent> |
| |
| <artifactId>org.apache.sling.commons.osgi</artifactId> |
| <version>2.4.3-SNAPSHOT</version> |
| |
| <name>Apache Sling Commons OSGi support</name> |
| <description>Commons OSGi</description> |
| |
| <scm> |
| <connection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git</connection> |
| <developerConnection>scm:git:https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-osgi.git</developerConnection> |
| <url>https://gitbox.apache.org/repos/asf?p=sling-org-apache-sling-commons-osgi.git</url> |
| <tag>HEAD</tag> |
| </scm> |
| |
| <properties> |
| <test.jars.folder>${project.build.directory}/testjars</test.jars.folder> |
| </properties> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-test-bundles</id> |
| <goals> |
| <goal>copy-dependencies</goal> |
| </goals> |
| <configuration> |
| <includeArtifactIds>org.apache.sling.api,jcr</includeArtifactIds> |
| <excludeTransitive>true</excludeTransitive> |
| <outputDirectory>${test.jars.folder}</outputDirectory> |
| <overWriteReleases>true</overWriteReleases> |
| <overWriteSnapshots>true</overWriteSnapshots> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>test.jars.folder</name> |
| <value>${test.jars.folder}</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.annotation.versioning</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <!-- OSGi Libraries --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.framework</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.util.tracker</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.service.event</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jmock</groupId> |
| <artifactId>jmock-junit4</artifactId> |
| <version>2.12.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <!-- Not used by our code, but need a non-bundle jar for unit tests --> |
| <groupId>javax.jcr</groupId> |
| <artifactId>jcr</artifactId> |
| <version>1.0</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <!-- Not used by our code, but need a bundle jar for unit tests --> |
| <groupId>org.apache.sling</groupId> |
| <artifactId>org.apache.sling.api</artifactId> |
| <version>2.0.6</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <version>3.3.3</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.google.guava</groupId> |
| <artifactId>guava</artifactId> |
| <version>15.0</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| </project> |