| <?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.graphar</groupId> |
| <artifactId>graphar-root</artifactId> |
| <version>${graphar.version}</version> |
| <relativePath>../pom.xml</relativePath> |
| </parent> |
| |
| <artifactId>spark</artifactId> |
| <packaging>pom</packaging> |
| <version>${graphar.version}</version> |
| |
| <profiles> |
| <profile> |
| <id>datasources-32</id> |
| <properties> |
| <sbt.project.name>graphar</sbt.project.name> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <scala.version>2.12.10</scala.version> |
| <scala.binary.version>2.12</scala.binary.version> |
| <PermGen>512m</PermGen> |
| <MaxPermGen>1024m</MaxPermGen> |
| <spark.version>3.2.2</spark.version> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <cupid.sdk.version>3.3.8-public</cupid.sdk.version> |
| </properties> |
| <modules> |
| <module>graphar</module> |
| <module>datasources-32</module> |
| </modules> |
| <activation> |
| <activeByDefault>true</activeByDefault> |
| </activation> |
| </profile> |
| <profile> |
| <id>datasources-33</id> |
| <properties> |
| <sbt.project.name>graphar</sbt.project.name> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| <scala.version>2.12.12</scala.version> |
| <scala.binary.version>2.12</scala.binary.version> |
| <PermGen>512m</PermGen> |
| <MaxPermGen>1024m</MaxPermGen> |
| <spark.version>3.3.4</spark.version> |
| <maven.compiler.source>1.8</maven.compiler.source> |
| <maven.compiler.target>1.8</maven.compiler.target> |
| <cupid.sdk.version>3.3.8-public</cupid.sdk.version> |
| </properties> |
| <modules> |
| <module>graphar</module> |
| <module>datasources-33</module> |
| </modules> |
| </profile> |
| </profiles> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>com.diffplug.spotless</groupId> |
| <artifactId>spotless-maven-plugin</artifactId> |
| <version>2.20.0</version> |
| <configuration> |
| <!-- define a language-specific format --> |
| <java> |
| <!-- no need to specify files, inferred automatically, but you can if you want --> |
| <!-- apply a specific flavor of google-java-format and reflow long strings --> |
| <googleJavaFormat> |
| <version>1.13.0</version> |
| <style>AOSP</style> |
| </googleJavaFormat> |
| </java> |
| <scala> |
| <scalafmt> |
| <file>${project.basedir}/.scalafmt.conf</file> <!-- optional --> |
| </scalafmt> |
| </scala> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.scala-tools</groupId> |
| <artifactId>maven-scala-plugin</artifactId> |
| <version>2.15.2</version> |
| <configuration> |
| <scalaVersion>${scala.version}</scalaVersion> |
| <args> |
| <arg>-target:jvm-1.8</arg> |
| </args> |
| <jvmArgs> |
| <jvmArg>-Xss4096K</jvmArg> |
| </jvmArgs> |
| </configuration> |
| <executions> |
| <execution> |
| <id>scala-compile</id> |
| <goals> |
| <goal>compile</goal> |
| </goals> |
| <configuration> |
| <excludes> |
| <exclude>META-INF/*.SF</exclude> |
| <exclude>META-INF/*.DSA</exclude> |
| <exclude>META-INF/*.RSA</exclude> |
| </excludes> |
| </configuration> |
| </execution> |
| <execution> |
| <id>scala-test-compile</id> |
| <goals> |
| <goal>testCompile</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |