| <?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.11.4-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>camel-cdi</artifactId> |
| <packaging>bundle</packaging> |
| <name>Camel :: CDI</name> |
| <description>Camel CDI</description> |
| |
| <properties> |
| <camel.osgi.import> |
| !org.apache.camel.cdi.*, |
| !org.apache.deltaspike.cdise.api.*, |
| org.apache.deltaspike.core.api.*;resolution:=optional, |
| ${camel.osgi.import.defaults}, |
| * |
| </camel.osgi.import> |
| <camel.osgi.export.pkg> |
| org.apache.camel.cdi;${camel.osgi.version}, |
| org.apache.camel.cdi.internal;${camel.osgi.version}, |
| org.apache.camel.cdi.component.*;${camel.osgi.version} |
| </camel.osgi.export.pkg> |
| </properties> |
| |
| <dependencies> |
| |
| <!-- Camel --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| </dependency> |
| |
| <!-- DeltaSpike --> |
| <dependency> |
| <groupId>org.apache.deltaspike.core</groupId> |
| <artifactId>deltaspike-core-api</artifactId> |
| <version>${deltaspike-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.deltaspike.core</groupId> |
| <artifactId>deltaspike-core-impl</artifactId> |
| <version>${deltaspike-version}</version> |
| </dependency> |
| |
| <!-- only required for the Main --> |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-api</artifactId> |
| <version>${deltaspike-version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <version>${geronimo-atinject-1.0-spec-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_1.0_spec</artifactId> |
| <version>${geronimo-jcdi-1.0-spec-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.1_spec</artifactId> |
| <version>${geronimo-interceptor-1.1-spec-version}</version> |
| </dependency> |
| |
| <!-- logging --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <version>${slf4j-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| |
| <profiles> |
| <profile> |
| <id>owb</id> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-servlet_2.5_spec</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-owb</artifactId> |
| <version>${deltaspike-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| <version>${openwebbeans-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-spi</artifactId> |
| <version>${openwebbeans-version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| |
| <profile> |
| <id>weld</id> |
| <!-- active by default as the overriding of InvocationTarget is currently broken in owb which breaks ProduceInjectTest --> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-weld</artifactId> |
| <version>${deltaspike-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.jboss.weld.se</groupId> |
| <artifactId>weld-se-core</artifactId> |
| <version>${weld-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| </dependencies> |
| </profile> |
| </profiles> |
| |
| </project> |