| <?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>core</artifactId> |
| <version>3.0.0-M1</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>camel-base</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: Base</name> |
| <description>The Base Camel Framework</description> |
| |
| <dependencies> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>spi-annotations</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>meta-annotations</artifactId> |
| <optional>true</optional> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-util</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-management-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-support</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-util-json</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.github.ben-manes.caffeine</groupId> |
| <artifactId>caffeine</artifactId> |
| </dependency> |
| |
| <!-- required dependencies by camel-core --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| |
| <!-- osgi support --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <scope>provided</scope> |
| <optional>true</optional> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.codehaus.woodstox</groupId> |
| <artifactId>woodstox-core-asl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>hamcrest-core</artifactId> |
| <groupId>org.hamcrest</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-core</artifactId> |
| <version>1.21</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.openjdk.jmh</groupId> |
| <artifactId>jmh-generator-annprocess</artifactId> |
| <version>1.21</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.hamcrest</groupId> |
| <artifactId>java-hamcrest</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.awaitility</groupId> |
| <artifactId>awaitility</artifactId> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <artifactId>hamcrest-core</artifactId> |
| <groupId>org.hamcrest</groupId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| <dependency> |
| <groupId>org.assertj</groupId> |
| <artifactId>assertj-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- logging --> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.mockito</groupId> |
| <artifactId>mockito-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- for json tests --> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-databind</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-core</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- validator --> |
| <dependency> |
| <groupId>xml-resolver</groupId> |
| <artifactId>xml-resolver</artifactId> |
| <version>${xml-resolver-version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| </dependencies> |
| |
| |
| <build> |
| |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-package-maven-plugin</artifactId> |
| <version>${project.version}</version> |
| <configuration> |
| <!-- set to true to make build fail fast if missing documentation in docs files --> |
| <failFast>false</failFast> |
| </configuration> |
| <executions> |
| <execution> |
| <id>generate</id> |
| <goals> |
| <goal>generate-jaxb-list</goal> |
| </goals> |
| <phase>process-classes</phase> |
| </execution> |
| <execution> |
| <id>readme</id> |
| <goals> |
| <goal>update-readme</goal> |
| </goals> |
| <phase>package</phase> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-resources-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>copy-generated-resources</id> |
| <goals> |
| <goal>resources</goal> |
| </goals> |
| <phase>process-classes</phase> |
| <configuration> |
| <resources> |
| <resource> |
| <directory>${basedir}/target/generated/camel/components</directory> |
| </resource> |
| <resource> |
| <directory>${basedir}/target/generated/camel/dataformats</directory> |
| </resource> |
| <resource> |
| <directory>${basedir}/target/generated/camel/languages</directory> |
| </resource> |
| <resource> |
| <directory>${basedir}/target/generated/camel/models</directory> |
| </resource> |
| <resource> |
| <directory>${basedir}/target/generated/camel/jaxb</directory> |
| </resource> |
| <resource> |
| <directory>${basedir}/target/generated/camel/legal</directory> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| |
| <!-- enables the APT dependency so that it can be disabled in IDE builds --> |
| <profile> |
| <id>apt</id> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| |
| <dependencies> |
| |
| <!-- enable the APT processor --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>apt</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| |
| </dependencies> |
| </profile> |
| |
| </profiles> |
| |
| </project> |