| <?xml version="1.0" encoding="UTF-8"?>
|
| <!-- |
| ~ |
| ~ Licensed 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>
|
| <artifactId>odf-messaging</artifactId>
|
| <name>odf-messaging</name>
|
|
|
| <parent>
|
| <groupId>org.apache.atlas.odf</groupId>
|
| <artifactId>odf</artifactId>
|
| <version>1.2.0-SNAPSHOT</version>
|
| </parent>
|
|
|
| <dependencies>
|
| <dependency>
|
| <groupId>org.apache.atlas.odf</groupId>
|
| <artifactId>odf-api</artifactId>
|
| <version>1.2.0-SNAPSHOT</version>
|
| <scope>compile</scope>
|
| </dependency>
|
| <dependency>
|
| <groupId>org.apache.atlas.odf</groupId>
|
| <artifactId>odf-core</artifactId>
|
| <version>1.2.0-SNAPSHOT</version>
|
| <scope>compile</scope>
|
| </dependency>
|
| <dependency>
|
| <groupId>org.apache.kafka</groupId>
|
| <artifactId>kafka-clients</artifactId>
|
| <version>0.10.0.0</version>
|
| <scope>compile</scope>
|
| </dependency>
|
| <dependency>
|
| <groupId>org.apache.kafka</groupId>
|
| <artifactId>kafka_2.11</artifactId>
|
| <version>0.10.0.0</version>
|
| <scope>compile</scope>
|
| </dependency>
|
| <dependency>
|
| <groupId>junit</groupId>
|
| <artifactId>junit</artifactId>
|
| <version>4.12</version>
|
| <scope>test</scope>
|
| </dependency>
|
| <dependency>
|
| <groupId>org.apache.atlas.odf</groupId>
|
| <artifactId>odf-core</artifactId>
|
| <version>1.2.0-SNAPSHOT</version>
|
| <type>test-jar</type>
|
| <scope>test</scope>
|
| </dependency>
|
| <dependency>
|
| <groupId>org.apache.derby</groupId>
|
| <artifactId>derby</artifactId>
|
| <version>10.12.1.1</version>
|
| <scope>test</scope>
|
| </dependency>
|
| </dependencies>
|
|
|
| <build>
|
| <plugins>
|
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-jar-plugin</artifactId>
|
| <version>2.6</version>
|
| <executions>
|
| <execution>
|
| <goals>
|
| <goal>test-jar</goal>
|
| </goals>
|
| <configuration>
|
| <!-- remove implementations properties file for test jar -->
|
| <excludes>
|
| <exclude>org/apache/atlas/odf/odf-implementation.properties</exclude>
|
| </excludes>
|
| </configuration>
|
| </execution>
|
| </executions>
|
| </plugin>
|
| </plugins>
|
| </build>
|
|
|
| <profiles>
|
| <profile>
|
| <id>all-unit-tests</id>
|
| <activation>
|
| <activeByDefault>true</activeByDefault>
|
| </activation>
|
| <build>
|
| <plugins>
|
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-surefire-plugin</artifactId>
|
| <version>2.19</version>
|
| <configuration>
|
| <systemPropertyVariables>
|
| <odf.logspec>${odf.unittest.logspec}</odf.logspec>
|
| <odf.zookeeper.connect>${testZookeepeConnectionString}</odf.zookeeper.connect>
|
| <odf.build.project.name>${project.name}</odf.build.project.name>
|
|
|
| <!-- additional properties for the test services -->
|
| <asynctestservice.testparam>sometestvalueforasync</asynctestservice.testparam>
|
| <synctestservice.testparam>sometestvalueforsync</synctestservice.testparam>
|
| </systemPropertyVariables>
|
| <dependenciesToScan>
|
| <dependency>org.apache.atlas.odf:odf-core</dependency>
|
| </dependenciesToScan>
|
| <!--
|
| <includes><include>**ShutdownTest**</include></includes>
|
| -->
|
|
|
| <excludes>
|
| <exclude>**/integrationtest/**</exclude>
|
| <exclude>**/configuration/**</exclude>
|
| </excludes>
|
| </configuration>
|
| </plugin>
|
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-failsafe-plugin</artifactId>
|
| <version>2.19</version>
|
| <configuration>
|
| <systemPropertyVariables>
|
| <odf.zookeeper.connect>${testZookeepeConnectionString}</odf.zookeeper.connect>
|
| <odf.logspec>${odf.integrationtest.logspec}</odf.logspec>
|
| </systemPropertyVariables>
|
| <dependenciesToScan>
|
| <dependency>org.apache.atlas.odf:odf-core</dependency>
|
| </dependenciesToScan>
|
| <includes>
|
| <include>**/integrationtest/**/**.java</include>
|
| </includes>
|
| <excludes>
|
| <exclude>**/integrationtest/**/SparkDiscoveryService*</exclude>
|
| <exclude>**/integrationtest/**/AnalysisManagerTest.java</exclude>
|
| </excludes>
|
| </configuration>
|
| <executions>
|
| <execution>
|
| <id>integration-test</id>
|
| <goals>
|
| <goal>integration-test</goal>
|
| </goals>
|
| </execution>
|
| <execution>
|
| <id>verify</id>
|
| <goals>
|
| <goal>verify</goal>
|
| </goals>
|
| </execution>
|
| </executions>
|
| </plugin>
|
| </plugins>
|
| </build>
|
| </profile>
|
| <profile>
|
| <id>reduced-tests</id>
|
| <activation>
|
| <property>
|
| <name>reduced-tests</name>
|
| <value>true</value>
|
| </property>
|
| </activation>
|
| <build>
|
| <plugins>
|
| <plugin>
|
| <groupId>org.apache.maven.plugins</groupId>
|
| <artifactId>maven-surefire-plugin</artifactId>
|
| <version>2.19</version>
|
| <configuration>
|
| <systemPropertyVariables>
|
| <odf.logspec>${odf.unittest.logspec}</odf.logspec>
|
| <odf.zookeeper.connect>${testZookeepeConnectionString}</odf.zookeeper.connect>
|
| <odf.build.project.name>${project.name}</odf.build.project.name>
|
| </systemPropertyVariables>
|
| <dependenciesToScan>
|
| <dependency>corg.apache.atlas.odf:odf-core</dependency>
|
| </dependenciesToScan>
|
| <excludes>
|
| <exclude>**/KafkaQueueManagerTest.java</exclude>
|
| <exclude>**/ShutdownTest.java</exclude>
|
| <exclude>**/MultiPartitionConsumerTest.java</exclude>
|
| <exclude>**/integrationtest/**/SparkDiscoveryService*</exclude>
|
| <exclude>**/integrationtest/**/AnalysisManagerTest.java</exclude>
|
| <exclude>**/configuration/**</exclude>
|
| </excludes>
|
| </configuration>
|
| </plugin>
|
| </plugins>
|
| </build>
|
| </profile>
|
| </profiles>
|
|
|
| </project>
|