| <?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> |
| |
| <groupId>org.jclouds.examples</groupId> |
| <artifactId>camel-notifications</artifactId> |
| <version>1.0.1</version> |
| <packaging>jar</packaging> |
| <description>jclouds camel example that uses a camel routes for sending email notifications, of the node states |
| </description> |
| |
| <name>jclouds Camel Notifier</name> |
| |
| <properties> |
| <camel.version>2.9.0</camel.version> |
| <jclouds.version>1.6.0</jclouds.version> |
| </properties> |
| |
| <dependencies> |
| |
| <!-- Camel Dependencies --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-spring</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-quartz</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-jclouds</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-mail</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-groovy</artifactId> |
| <version>${camel.version}</version> |
| </dependency> |
| |
| <!-- jclouds Dependencies --> |
| <dependency> |
| <groupId>org.jclouds.driver</groupId> |
| <artifactId>jclouds-slf4j</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-compute</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.jclouds</groupId> |
| <artifactId>jclouds-allcompute</artifactId> |
| <version>${jclouds.version}</version> |
| </dependency> |
| |
| <!-- Logging --> |
| <dependency> |
| <groupId>ch.qos.logback</groupId> |
| <artifactId>logback-classic</artifactId> |
| <version>1.0.0</version> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <defaultGoal>install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-compiler-plugin</artifactId> |
| <version>2.3.2</version> |
| <configuration> |
| <source>1.6</source> |
| <target>1.6</target> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.5</version> |
| <executions> |
| <execution> |
| <id>copy-resources</id> |
| <phase>validate</phase> |
| <goals> |
| <goal>copy-resources</goal> |
| </goals> |
| <configuration> |
| <outputDirectory>${project.basedir}/target/classes</outputDirectory> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <includes> |
| <include>**</include> |
| </includes> |
| </resource> |
| </resources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| |
| <!-- allows the route to be ran via 'mvn camel:run' --> |
| <plugin> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-maven-plugin</artifactId> |
| <version>${camel.version}</version> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |