| <?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>3.0.2-SNAPSHOT</version> |
| </parent> |
| |
| <artifactId>camel-infinispan</artifactId> |
| <packaging>jar</packaging> |
| <name>Camel :: Infinispan</name> |
| <description>Camel Infinispan support</description> |
| |
| <properties> |
| <protostream-version>4.3.0.Final</protostream-version> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-support</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-core</artifactId> |
| <version>${infinispan-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-query-dsl</artifactId> |
| <version>${infinispan-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-client-hotrod</artifactId> |
| <version>${infinispan-version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-remote-query-client</artifactId> |
| <version>${infinispan-version}</version> |
| </dependency> |
| |
| <!-- testing --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-test-spring</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-core</artifactId> |
| <version>${infinispan-version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-spring5-remote</artifactId> |
| <version>${infinispan-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-marshaller-protostuff</artifactId> |
| <version>${infinispan-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan.protostream</groupId> |
| <artifactId>sample-domain-definition</artifactId> |
| <version>${protostream-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.infinispan.protostream</groupId> |
| <artifactId>sample-domain-implementation</artifactId> |
| <version>${protostream-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-api</artifactId> |
| <version>${log4j2-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-core</artifactId> |
| <version>${log4j2-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-slf4j-impl</artifactId> |
| <version>${log4j2-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.logging.log4j</groupId> |
| <artifactId>log4j-jcl</artifactId> |
| <version>${log4j2-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <configuration> |
| <systemProperties> |
| <property> |
| <name>infinispan.test.jgroups.protocol</name> |
| <value>tcp</value> |
| </property> |
| </systemProperties> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| |
| <profiles> |
| <profile> |
| <id>infinispan-itests</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| <properties> |
| <server.dir.parent>${project.build.directory}</server.dir.parent> |
| <server.dir.name>infinispan-server-${infinispan-version}</server.dir.name> |
| <server.dir>${server.dir.parent}/${server.dir.name}</server.dir> |
| </properties> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.googlecode.maven-download-plugin</groupId> |
| <artifactId>download-maven-plugin</artifactId> |
| <version>1.4.2</version> |
| <executions> |
| <execution> |
| <id>download-infinispan-server</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>wget</goal> |
| </goals> |
| <configuration> |
| <url>http://downloads.jboss.org/infinispan/${infinispan-version}/infinispan-server-${infinispan-version}.zip</url> |
| <unpack>true</unpack> |
| <outputDirectory>${server.dir.parent}</outputDirectory> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-dependency-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>deploy-converter-factory</id> |
| <phase>generate-test-resources</phase> |
| <goals> |
| <goal>copy</goal> |
| </goals> |
| <configuration> |
| <artifactItems> |
| <artifactItem> |
| <groupId>org.infinispan</groupId> |
| <artifactId>infinispan-server-runtime</artifactId> |
| <version>${infinispan-version}</version> |
| <outputDirectory>${server.dir}/standalone/deployments</outputDirectory> |
| </artifactItem> |
| </artifactItems> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>com.bazaarvoice.maven.plugins</groupId> |
| <artifactId>process-exec-maven-plugin</artifactId> |
| <version>0.9</version> |
| <executions> |
| <!-- Start process --> |
| <execution> |
| <id>infinispan-server</id> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>start</goal> |
| </goals> |
| <configuration> |
| <name>infinispan-server</name> |
| <workingDir>${server.dir}/bin/</workingDir> |
| <arguments> |
| <argument>./server.sh</argument> |
| </arguments> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-failsafe-plugin</artifactId> |
| <executions> |
| <execution> |
| <goals> |
| <goal>integration-test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </profile> |
| </profiles> |
| </project> |