| <?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.mnemonic</groupId> |
| <artifactId>mnemonic-parent</artifactId> |
| <version>0.14.0</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>mnemonic-spark</artifactId> |
| <name>mnemonic-spark</name> |
| <packaging>pom</packaging> |
| <url>http://mnemonic.apache.org</url> |
| |
| <properties> |
| <spark.version>2.3.0</spark.version> |
| <scala.version>2.11.12</scala.version> |
| <scala.binary.version>2.11</scala.binary.version> |
| <scalatest.version>3.0.1</scalatest.version> |
| <spark-scope>compile</spark-scope> |
| </properties> |
| |
| <modules> |
| <module>mnemonic-spark-core</module> |
| </modules> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.mnemonic</groupId> |
| <artifactId>mnemonic-core</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mnemonic</groupId> |
| <artifactId>mnemonic-collections</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.mnemonic</groupId> |
| <artifactId>mnemonic-sessions</artifactId> |
| <version>${project.version}</version> |
| <scope>compile</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.flowcomputing.commons</groupId> |
| <artifactId>commons-primitives</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-core_${scala.binary.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.spark</groupId> |
| <artifactId>spark-mllib_${scala.binary.version}</artifactId> |
| <version>${spark.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-compiler</artifactId> |
| <version>${scala.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-reflect</artifactId> |
| <version>${scala.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-library</artifactId> |
| <version>${scala.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scala-actors</artifactId> |
| <version>${scala.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scala-lang</groupId> |
| <artifactId>scalap</artifactId> |
| <version>${scala.version}</version> |
| <scope>${spark-scope}</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scalactic</groupId> |
| <artifactId>scalactic_${scala.binary.version}</artifactId> |
| <version>${scalatest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest_${scala.binary.version}</artifactId> |
| <version>${scalatest.version}</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- logging dependencies --> |
| <!-- assume all APIs will be used --> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-api</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jul-to-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>jcl-over-slf4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>log4j</groupId> |
| <artifactId>log4j</artifactId> |
| </dependency> |
| <dependency> |
| <groupId>org.slf4j</groupId> |
| <artifactId>slf4j-log4j12</artifactId> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <plugins> |
| </plugins> |
| <pluginManagement> |
| <plugins> |
| <plugin> |
| <groupId>org.scalatest</groupId> |
| <artifactId>scalatest-maven-plugin</artifactId> |
| <version>1.0</version> |
| <configuration> |
| <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> |
| <junitxml>.</junitxml> |
| <parallel>false</parallel> |
| <filereports>SparkIntegrationTestSuite.txt</filereports> |
| <forkMode>always</forkMode> |
| <skipTests>${skipTests}</skipTests> |
| <argLine>-Djava.ext.dirs=${memory.service.dist.dir}:${computing.service.dist.dir}</argLine> |
| <systemProperties> |
| <spark.durable-basedir> |
| ./target |
| </spark.durable-basedir> |
| <spark.service-dist-dirs> |
| ${memory.service.dist.dir}:${computing.service.dist.dir} |
| </spark.service-dist-dirs> |
| <spark.executorEnv.SPARK_JAVA_OPTS> |
| -D${memory.service.dist.dir}:${computing.service.dist.dir} |
| </spark.executorEnv.SPARK_JAVA_OPTS> |
| </systemProperties> |
| </configuration> |
| <executions> |
| <execution> |
| <id>test</id> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <version>2.6</version> |
| <configuration> |
| <forceCreation>true</forceCreation> |
| <archive> |
| <addMavenDescriptor>false</addMavenDescriptor> |
| </archive> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>net.alchim31.maven</groupId> |
| <artifactId>scala-maven-plugin</artifactId> |
| <version>4.4.0</version> |
| <executions> |
| <execution> |
| <goals> |
| <goal>compile</goal> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <recompileMode>incremental</recompileMode> |
| <useZincServer>true</useZincServer> |
| <args> |
| <arg>-unchecked</arg> |
| <arg>-deprecation</arg> |
| <arg>-feature</arg> |
| <arg>-language:postfixOps</arg> |
| </args> |
| <jvmArgs> |
| <jvmArg>-Xms1024m</jvmArg> |
| <jvmArg>-Xmx1024m</jvmArg> |
| </jvmArgs> |
| <javacArgs> |
| <javacArg>-source</javacArg> |
| <javacArg>${java.version}</javacArg> |
| <javacArg>-target</javacArg> |
| <javacArg>${java.version}</javacArg> |
| <javacArg>-XDignore.symbol.file</javacArg> |
| <javacArg>-XDenableSunApiLintControl</javacArg> |
| </javacArgs> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.bsc.maven</groupId> |
| <artifactId>maven-processor-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>process-test</id> |
| <goals> |
| <goal>process-test</goal> |
| </goals> |
| <phase>generate-test-sources</phase> |
| <configuration> |
| <compilerArguments>-XDenableSunApiLintControl</compilerArguments> |
| <processors> |
| <processor>${project.groupId}.DurableEntityProcessor</processor> |
| </processors> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </pluginManagement> |
| </build> |
| |
| </project> |