| <?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.camel</groupId> |
| <artifactId>components</artifactId> |
| <version>2.17.6</version> |
| </parent> |
| |
| <artifactId>camel-test-blueprint</artifactId> |
| <packaging>bundle</packaging> |
| <name>Camel :: Test :: Blueprint</name> |
| <description>Camel Testing Blueprint Library using JUnit</description> |
| |
| <properties> |
| <camel.osgi.export.pkg>org.apache.camel.test.blueprint*</camel.osgi.export.pkg> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <type>test-jar</type> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-blueprint</artifactId> |
| <!-- exclude aries blueprint as we add these dependencies explicit --> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- the ordering of the dependencies can matter as we load the dependencies from the classpath |
| with felix-connect, and you may get a weird error if wrong order --> |
| <dependency> |
| <groupId>org.apache.aries.proxy</groupId> |
| <artifactId>org.apache.aries.proxy.api</artifactId> |
| <version>${aries-blueprint-proxy-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.proxy</groupId> |
| <artifactId>org.apache.aries.proxy.impl</artifactId> |
| <version>${aries-blueprint-proxy-impl-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.core</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries.blueprint</groupId> |
| <artifactId>org.apache.aries.blueprint.cm</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.aries</groupId> |
| <artifactId>org.apache.aries.util</artifactId> |
| <version>${aries-util-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.connect</artifactId> |
| <version>${felix-connect-version}</version> |
| <exclusions> |
| <!-- felix-connect includes osgi.core and osgi.compendium version 5.0.0 --> |
| <exclusion> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.osgi</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.swissbox</groupId> |
| <artifactId>pax-swissbox-tinybundles</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>commons-logging</groupId> |
| <artifactId>commons-logging</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.configadmin</artifactId> |
| <!-- exclude the following dependency which otherwise would pop up a lot of compilation |
| errors both by this and the camel-maven-plugin modules under eclipse. --> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.foundation</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.apache.felix.fileinstall</artifactId> |
| <version>${felix-fileinstall-version}</version> |
| <!-- exclude the following dependency which otherwise would pop up a lot of compilation |
| errors both by this and the camel-maven-plugin modules under eclipse. --> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.foundation</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.core</artifactId> |
| </exclusion> |
| <exclusion> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>org.osgi.compendium</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- optional dependencies for running tests --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| <version>${slf4j-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <forkCount>1</forkCount> |
| <reuseForks>false</reuseForks> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </project> |