| <?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/xsd/maven-4.0.0.xsd"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>core</artifactId> |
| <version>3.0.0-M4</version> |
| <relativePath>..</relativePath> |
| </parent> |
| |
| <artifactId>camel-base</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Camel :: Base</name> |
| <description>The Base Camel Framework</description> |
| |
| <dependencies> |
| |
| <!-- camel annotations --> |
| <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> |
| |
| <!-- required dependencies by camel-base --> |
| <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</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-util-json</artifactId> |
| </dependency> |
| |
| <!-- required logging api dependency by camel-base --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </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> |
| <goal>generate-eips-list</goal> |
| <goal>generate-components-list</goal> |
| <goal>generate-dataformats-list</goal> |
| <goal>generate-languages-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> |