| <?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>camel-xml-jaxb-dsl-test</artifactId> |
| <version>3.11.6</version> |
| </parent> |
| |
| <artifactId>camel-xml-jaxb-dsl-test-cdi</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: XML DSL Jaxb :: Test :: CDI</name> |
| <description>Camel XML DSL Tests with Jaxb and CDI</description> |
| |
| <properties> |
| <firstVersion>3.9.0</firstVersion> |
| </properties> |
| |
| <dependencyManagement> |
| <dependencies> |
| |
| <!-- test dependencies --> |
| |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.descriptors</groupId> |
| <artifactId>shrinkwrap-descriptors-bom</artifactId> |
| <version>${shrinkwrap-descriptors-version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.arquillian</groupId> |
| <artifactId>arquillian-bom</artifactId> |
| <version>${arquillian-version}</version> |
| <type>pom</type> |
| <scope>import</scope> |
| </dependency> |
| |
| </dependencies> |
| </dependencyManagement> |
| <dependencies> |
| <!-- compile dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xml-jaxb-dsl</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cdi</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-main</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-mock</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-bean</artifactId> |
| </dependency> |
| |
| <!-- DeltaSpike is only used to provide Main support thus optional --> |
| <dependency> |
| <groupId>org.apache.deltaspike.cdictrl</groupId> |
| <artifactId>deltaspike-cdictrl-api</artifactId> |
| <version>${deltaspike-version}</version> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- provided dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core-xml</artifactId> |
| <optional>true</optional> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-xml-jaxb</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <dependency> |
| <groupId>javax.transaction</groupId> |
| <artifactId>javax.transaction-api</artifactId> |
| <version>${jta-api-1.2-version}</version> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- test dependencies --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-cloud</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-seda</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-direct</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-rest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-ref</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest-core</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>hamcrest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| <version>${slf4j-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.arquillian.junit</groupId> |
| <artifactId>arquillian-junit-container</artifactId> |
| <version>${arquillian-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.shrinkwrap.descriptors</groupId> |
| <artifactId>shrinkwrap-descriptors-depchain</artifactId> |
| <type>pom</type> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-package-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>jaxb-list</id> |
| <goals> |
| <goal>generate-jaxb-list</goal> |
| </goals> |
| <phase>process-classes</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-generated-resources-jaxb</id> |
| <goals> |
| <goal>resources</goal> |
| </goals> |
| <phase>process-classes</phase> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>${basedir}/target/generated/camel/jaxb</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>weld-3.0</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <!-- provided dependencies --> |
| |
| <dependency> |
| <groupId>javax.enterprise</groupId> |
| <artifactId>cdi-api</artifactId> |
| <version>${cdi-api-2.0-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- test dependencies --> |
| |
| <dependency> |
| <groupId>org.jboss.weld</groupId> |
| <artifactId>weld-core-impl</artifactId> |
| <version>${weld3-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jboss.arquillian.container</groupId> |
| <artifactId>arquillian-weld-embedded</artifactId> |
| <version>${arquillian-weld-embedded-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </profile> |
| |
| |
| <profile> |
| <id>owb-1.0</id> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <excludes> |
| <exclude>**/*Cdi12Test.java</exclude> |
| <exclude>**/*Cdi20Test.java</exclude> |
| <!-- OWB does not call the InjectionTarget#preDestroy method --> |
| <exclude>**/UnstoppedCamelContext*Test.java</exclude> |
| <!-- Reactivate when OWB-1155 is fixed --> |
| <exclude>**/ProgrammaticLookupTest.java</exclude> |
| <!-- Reactivate when OWB-1126 is fixed --> |
| <exclude>**/Xml*Test.java</exclude> |
| </excludes> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <dependencies> |
| |
| <!-- provided dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jcdi_1.0_spec</artifactId> |
| <version>${geronimo-jcdi-1.0-spec-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-atinject_1.0_spec</artifactId> |
| <version>${geronimo-atinject-1.0-spec-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-interceptor_1.1_spec</artifactId> |
| <version>${geronimo-interceptor-1.1-spec-version}</version> |
| <scope>provided</scope> |
| </dependency> |
| |
| <!-- test dependencies --> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans.arquillian</groupId> |
| <artifactId>owb-arquillian-standalone</artifactId> |
| <version>${openwebbeans1-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.openwebbeans</groupId> |
| <artifactId>openwebbeans-impl</artifactId> |
| <version>${openwebbeans1-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| </profile> |
| </profiles> |
| |
| </project> |