| <?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"> |
| <parent> |
| <groupId>org.apache.camel.kafkaconnector</groupId> |
| <artifactId>itests-parent</artifactId> |
| <version>0.11.0-SNAPSHOT</version> |
| <relativePath>../itests-parent/pom.xml</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <artifactId>itests-salesforce</artifactId> |
| <name>Camel-Kafka-Connector :: Tests :: Salesforce</name> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.camel.kafkaconnector</groupId> |
| <artifactId>itests-common</artifactId> |
| <version>${project.version}</version> |
| <type>test-jar</type> |
| <scope>test</scope> |
| </dependency> |
| |
| <dependency> |
| <groupId>com.fasterxml.jackson.core</groupId> |
| <artifactId>jackson-annotations</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>javax.annotation</groupId> |
| <artifactId>javax.annotation-api</artifactId> |
| </dependency> |
| |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-salesforce</artifactId> |
| </dependency> |
| |
| </dependencies> |
| |
| <profiles> |
| <profile> |
| <id>salesforce</id> |
| <activation> |
| <activeByDefault>false</activeByDefault> |
| </activation> |
| |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.camel.maven</groupId> |
| <artifactId>camel-salesforce-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate</id> |
| <goals> |
| <goal>generate</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <clientId>${it.test.salesforce.client.id}</clientId> |
| <clientSecret>${it.test.salesforce.client.secret}</clientSecret> |
| <userName>${it.test.salesforce.username}</userName> |
| <password>${it.test.salesforce.password}</password> |
| <loginUrl default-value="https://login.salesforce.com">${it.test.salesforce.login.url}</loginUrl> |
| <includes> |
| <include>Account</include> |
| <include>Contacts</include> |
| </includes> |
| <httpProxyHost>${it.test.salesforce.httpProxyHost}</httpProxyHost> |
| <httpProxyPort>${it.test.salesforce.httpProxyPort}</httpProxyPort> |
| </configuration> |
| </plugin> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>generate-sources</phase> |
| <goals> |
| <goal>add-source</goal> |
| </goals> |
| <configuration> |
| <sources> |
| <source>${project.build.directory}/generated-sources/camel-salesforce</source> |
| </sources> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| |
| </profile> |
| </profiles> |
| |
| |
| </project> |