mirror of
https://github.com/OpenSPG/openspg.git
synced 2025-12-30 00:38:53 +00:00
796 lines
26 KiB
XML
796 lines
26 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<!--
|
||
~ Copyright 2023 Ant Group CO., Ltd.
|
||
~
|
||
~ 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.
|
||
-->
|
||
<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>com.antgroup.openspg</groupId>
|
||
<artifactId>openspg-parent</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
<relativePath>../pom.xml</relativePath>
|
||
</parent>
|
||
|
||
<groupId>com.antgroup.openspg.reasoner</groupId>
|
||
<artifactId>reasoner-parent</artifactId>
|
||
<packaging>pom</packaging>
|
||
<modules>
|
||
<module>common</module>
|
||
</modules>
|
||
|
||
<properties>
|
||
<antlr4.version>4.8</antlr4.version>
|
||
<fastjson.version>1.2.71_noneautotype</fastjson.version>
|
||
<geotools.version>27.0</geotools.version>
|
||
<google.s2.version>2.0.0</google.s2.version>
|
||
<hadoop.version>2.7.2</hadoop.version>
|
||
<hive.version>3.1.0</hive.version>
|
||
<java.version>1.8</java.version>
|
||
<json4s.version>4.0.6</json4s.version>
|
||
<kgstate.version>0.1.26_20230919</kgstate.version>
|
||
<maven.compiler.source>8</maven.compiler.source>
|
||
<maven.compiler.target>8</maven.compiler.target>
|
||
<odps.version>0.37.9-public</odps.version>
|
||
<parquet.version>1.10.0</parquet.version>
|
||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||
<scala.binary.version>2.11</scala.binary.version>
|
||
<scala.version>2.11.12</scala.version>
|
||
</properties>
|
||
|
||
<dependencyManagement>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>com.antgroup.openspg.reasoner</groupId>
|
||
<artifactId>reasoner-common</artifactId>
|
||
<version>${project.version}</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr4-runtime</artifactId>
|
||
<version>${antlr4.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.google.guava</groupId>
|
||
<artifactId>guava</artifactId>
|
||
<version>20.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-api</artifactId>
|
||
<version>1.7.25</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-log4j12</artifactId>
|
||
<version>1.7.25</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>fastjson</artifactId>
|
||
<version>${fastjson.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.scala-lang</groupId>
|
||
<artifactId>scala-compiler</artifactId>
|
||
<version>${scala.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.scala-lang</groupId>
|
||
<artifactId>scala-reflect</artifactId>
|
||
<version>${scala.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.scala-lang</groupId>
|
||
<artifactId>scala-library</artifactId>
|
||
<version>${scala.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.typelevel</groupId>
|
||
<artifactId>cats-core_2.11</artifactId>
|
||
<version>2.0.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>io.github.lukehutch</groupId>
|
||
<artifactId>fast-classpath-scanner</artifactId>
|
||
<version>2.6.0</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>junit</groupId>
|
||
<artifactId>junit</artifactId>
|
||
<version>4.9</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.scalatest</groupId>
|
||
<artifactId>scalatest_${scala.binary.version}</artifactId>
|
||
<version>3.2.9</version>
|
||
<scope>test</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-lang3</artifactId>
|
||
<version>3.5</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-collections4</artifactId>
|
||
<version>4.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-compress</artifactId>
|
||
<version>1.21</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.22</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>commons-io</groupId>
|
||
<artifactId>commons-io</artifactId>
|
||
<version>2.4</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>QLExpress</artifactId>
|
||
<version>3.3.2</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>commons-beanutils</groupId>
|
||
<artifactId>commons-beanutils</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>log4j</groupId>
|
||
<artifactId>log4j</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.json4s</groupId>
|
||
<artifactId>json4s-jackson_${scala.binary.version}</artifactId>
|
||
<version>${json4s.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.json4s</groupId>
|
||
<artifactId>json4s-ext_${scala.binary.version}</artifactId>
|
||
<version>${json4s.version}</version>
|
||
</dependency>
|
||
|
||
<!-- kg state start -->
|
||
<dependency>
|
||
<groupId>com.antfin.aikg</groupId>
|
||
<artifactId>kgstate-reader</artifactId>
|
||
<version>${kgstate.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr4-runtime</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr4</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr-runtime</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.codehaus.jackson</groupId>
|
||
<artifactId>jackson-mapper-asl</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>jdk.tools</groupId>
|
||
<artifactId>jdk.tools</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.hadoop</groupId>
|
||
<artifactId>hadoop-common</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.slf4j</groupId>
|
||
<artifactId>slf4j-log4j12</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>log4j</groupId>
|
||
<artifactId>log4j</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>commons-logging</groupId>
|
||
<artifactId>commons-logging</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.alibaba</groupId>
|
||
<artifactId>QLExpress</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.antfin.aikg</groupId>
|
||
<artifactId>kgstate-rt</artifactId>
|
||
<version>${kgstate.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.alipay.sofa.common</groupId>
|
||
<artifactId>sofa-common-tools</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.alipay.sofa.common.log</groupId>
|
||
<artifactId>sofa-middleware-log</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.aliyun.odps</groupId>
|
||
<artifactId>odps-sdk-mapred</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>com.taobao.diamond</groupId>
|
||
<artifactId>diamond-client</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alipay.sofa</groupId>
|
||
<artifactId>sofa-security-util</artifactId>
|
||
<version>1.0.3</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.antfin.aikg</groupId>
|
||
<artifactId>kgstate-tool</artifactId>
|
||
<version>${kgstate.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>jdk.tools</groupId>
|
||
<artifactId>jdk.tools</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr4-runtime</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr4</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.antlr</groupId>
|
||
<artifactId>antlr-runtime</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.antfin.aikg</groupId>
|
||
<artifactId>kgstate-meta</artifactId>
|
||
<version>${kgstate.version}</version>
|
||
</dependency>
|
||
<!-- kg state end-->
|
||
<dependency>
|
||
<groupId>org.apache.commons</groupId>
|
||
<artifactId>commons-text</artifactId>
|
||
<version>1.8</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.xerial.snappy</groupId>
|
||
<artifactId>snappy-java</artifactId>
|
||
<version>1.1.9.1</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.hadoop</groupId>
|
||
<artifactId>hadoop-common</artifactId>
|
||
<version>${hadoop.version}</version>
|
||
<scope>provided</scope>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.alipay.sofa.common</groupId>
|
||
<artifactId>sofa-common-tools</artifactId>
|
||
<version>1.3.10</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.aliyun.odps</groupId>
|
||
<artifactId>odps-sdk-core</artifactId>
|
||
<version>${odps.version}</version>
|
||
<scope>provided</scope>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>com.google.protobuf</groupId>
|
||
<artifactId>protobuf-java</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.arrow</groupId>
|
||
<artifactId>arrow-vector</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.aliyun.odps</groupId>
|
||
<artifactId>odps-sdk-commons</artifactId>
|
||
<version>${odps.version}</version>
|
||
</dependency>
|
||
|
||
<!-- parquet start -->
|
||
<dependency>
|
||
<groupId>org.apache.parquet</groupId>
|
||
<artifactId>parquet-hadoop-bundle</artifactId>
|
||
<version>${parquet.version}</version>
|
||
</dependency>
|
||
<!-- parquet end -->
|
||
|
||
<!-- hive start -->
|
||
<dependency>
|
||
<groupId>org.apache.hive</groupId>
|
||
<artifactId>hive-jdbc</artifactId>
|
||
<version>${hive.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.logging.log4j</groupId>
|
||
<artifactId>log4j-1.2-api</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.logging.log4j</groupId>
|
||
<artifactId>log4j-slf4j-impl</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.logging.log4j</groupId>
|
||
<artifactId>log4j-web</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>log4j</groupId>
|
||
<artifactId>log4j</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.parquet</groupId>
|
||
<artifactId>parquet-hadoop-bundle</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.hbase</groupId>
|
||
<artifactId>hbase-client</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.hbase</groupId>
|
||
<artifactId>hbase-common</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.hbase</groupId>
|
||
<artifactId>hbase-server</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<!-- hive end -->
|
||
|
||
<!-- cloud sdk-->
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>cloud-sdk-common</artifactId>
|
||
<version>1.2.1.20221206</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpcore</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>logservice-cloud-sdk</artifactId>
|
||
<version>1.1.0-SNAPSHOT</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>logservice-cloud-driver-sls</artifactId>
|
||
<version>1.1.0-SNAPSHOT</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>logservice-cloud-driver-kafka</artifactId>
|
||
<version>1.1.0-SNAPSHOT</version>
|
||
</dependency>
|
||
<!-- objectstorage sdk层依赖,定义接口和模型 -->
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>object-storage-cloud-sdk</artifactId>
|
||
<version>2.0.0.20221213-SNAPSHOT</version>
|
||
</dependency>
|
||
<!-- objectstorage oss driver层依赖,接口实现 -->
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>object-storage-cloud-driver-oss</artifactId>
|
||
<version>2.0.0.20221115-SNAPSHOT</version>
|
||
</dependency>
|
||
<!-- objectstorage minio driver层依赖,接口实现 -->
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>object-storage-cloud-driver-minio</artifactId>
|
||
<version>2.0.0.20221115-SNAPSHOT</version>
|
||
</dependency>
|
||
<!-- objectstorage s3 driver层依赖,接口实现 -->
|
||
<dependency>
|
||
<groupId>com.alipay.cloudsdk</groupId>
|
||
<artifactId>object-storage-cloud-driver-s3</artifactId>
|
||
<version>2.0.0.20221213-SNAPSHOT</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-transport</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-transport-classes-epoll</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-handler</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-common</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-codec</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-codec-http</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-codec-http2</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>io.netty</groupId>
|
||
<artifactId>netty-buffer</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<!-- cloud sdk end-->
|
||
|
||
<!-- msg broker start -->
|
||
<dependency>
|
||
<groupId>com.antgroup.kg</groupId>
|
||
<artifactId>msg-open-interface</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.antgroup.kg</groupId>
|
||
<artifactId>msg-impl</artifactId>
|
||
<version>0.0.1-SNAPSHOT</version>
|
||
</dependency>
|
||
<!-- msg broker end -->
|
||
<dependency>
|
||
<groupId>com.opencsv</groupId>
|
||
<artifactId>opencsv</artifactId>
|
||
<version>4.6</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
<version>4.4.1</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpcore</artifactId>
|
||
<version>4.4.1</version>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.aliyun.oss</groupId>
|
||
<artifactId>aliyun-sdk-oss</artifactId>
|
||
<version>3.10.2</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpclient</artifactId>
|
||
</exclusion>
|
||
<exclusion>
|
||
<groupId>org.apache.httpcomponents</groupId>
|
||
<artifactId>httpcore</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
|
||
<dependency>
|
||
<groupId>com.lmax</groupId>
|
||
<artifactId>disruptor</artifactId>
|
||
<version>3.4.2</version>
|
||
</dependency>
|
||
|
||
<!-- geo start -->
|
||
<dependency>
|
||
<groupId>com.google.geometry</groupId>
|
||
<artifactId>s2-geometry</artifactId>
|
||
<version>${google.s2.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.geotools</groupId>
|
||
<artifactId>gt-swing</artifactId>
|
||
<version>${geotools.version}</version>
|
||
<exclusions>
|
||
<exclusion>
|
||
<groupId>org.glassfish.jaxb</groupId>
|
||
<artifactId>jaxb-runtime</artifactId>
|
||
</exclusion>
|
||
</exclusions>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>org.geotools</groupId>
|
||
<artifactId>gt-epsg-hsql</artifactId>
|
||
<version>${geotools.version}</version>
|
||
</dependency>
|
||
<dependency>
|
||
<groupId>com.github.pfmiles</groupId>
|
||
<artifactId>min-velocity</artifactId>
|
||
<version>1.1.0</version>
|
||
</dependency>
|
||
<!-- geo end -->
|
||
|
||
</dependencies>
|
||
</dependencyManagement>
|
||
|
||
<build>
|
||
|
||
<pluginManagement>
|
||
<plugins>
|
||
<!-- Pin the version of the maven shade plugin -->
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-shade-plugin</artifactId>
|
||
<version>3.2.1</version>
|
||
<configuration>
|
||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.xolstice.maven.plugins</groupId>
|
||
<artifactId>protobuf-maven-plugin</artifactId>
|
||
<version>0.5.0</version>
|
||
<extensions>true</extensions>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>compile</goal>
|
||
<goal>test-compile</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.codehaus.mojo</groupId>
|
||
<artifactId>build-helper-maven-plugin</artifactId>
|
||
<version>1.7</version>
|
||
<executions>
|
||
<execution>
|
||
<id>add-source</id>
|
||
<goals>
|
||
<goal>add-source</goal>
|
||
</goals>
|
||
<phase>generate-sources</phase>
|
||
<configuration>
|
||
<sources>
|
||
<source>target/generated-sources/protobuf/java</source>
|
||
</sources>
|
||
</configuration>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</pluginManagement>
|
||
<plugins>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-surefire-plugin</artifactId>
|
||
<version>3.0.0</version>
|
||
<configuration>
|
||
<includes>
|
||
<include>**/Test*.*</include>
|
||
<include>**/*Test.*</include>
|
||
<include>**/*Suite.*</include>
|
||
<include>**/*Spec.*</include>
|
||
</includes>
|
||
<testFailureIgnore>false</testFailureIgnore>
|
||
<argLine>@{argLine} -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=256m</argLine>
|
||
</configuration>
|
||
<dependencies>
|
||
<dependency>
|
||
<groupId>org.apache.maven.surefire</groupId>
|
||
<artifactId>surefire-junit47</artifactId>
|
||
<version>3.0.0</version>
|
||
</dependency>
|
||
</dependencies>
|
||
</plugin>
|
||
<plugin>
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-jar-plugin</artifactId>
|
||
<version>3.1.2</version>
|
||
<!--$NO-MVN-MAN-VER$-->
|
||
<configuration>
|
||
<archive>
|
||
<manifest>
|
||
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
|
||
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
|
||
</manifest>
|
||
</archive>
|
||
</configuration>
|
||
</plugin>
|
||
<plugin>
|
||
<!-- just define the Java version to be used for compiling and plugins -->
|
||
<groupId>org.apache.maven.plugins</groupId>
|
||
<artifactId>maven-compiler-plugin</artifactId>
|
||
<version>3.8.1</version>
|
||
<configuration>
|
||
<annotationProcessorPaths>
|
||
<path>
|
||
<groupId>org.projectlombok</groupId>
|
||
<artifactId>lombok</artifactId>
|
||
<version>1.18.16</version>
|
||
</path>
|
||
</annotationProcessorPaths>
|
||
<source>${java.version}</source>
|
||
<target>${java.version}</target>
|
||
<encoding>${project.build.sourceEncoding}</encoding>
|
||
<!-- The output of Xlint is not shown by default, but we activate it for the QA bot
|
||
to be able to get more warnings -->
|
||
<compilerArgument>-Xlint:all</compilerArgument>
|
||
</configuration>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>net.alchim31.maven</groupId>
|
||
<artifactId>scala-maven-plugin</artifactId>
|
||
<version>4.3.0</version>
|
||
<configuration>
|
||
<scalaVersion>${scala.version}</scalaVersion>
|
||
<checkMultipleScalaVersions>true</checkMultipleScalaVersions>
|
||
<failOnMultipleScalaVersions>true</failOnMultipleScalaVersions>
|
||
<recompileMode>incremental</recompileMode>
|
||
<args>
|
||
<arg>-target:jvm-1.8</arg>
|
||
<arg>-unchecked</arg>
|
||
<arg>-deprecation</arg>
|
||
<arg>-feature</arg>
|
||
<arg>-Xfatal-warnings</arg>
|
||
<arg>-Xfuture</arg>
|
||
<arg>-Ypartial-unification</arg>
|
||
<arg>-Ywarn-adapted-args</arg>
|
||
</args>
|
||
<jvmArgs>
|
||
<jvmArg>-Xss128m</jvmArg>
|
||
<jvmArg>-Xms4g</jvmArg>
|
||
<jvmArg>-Xmx4g</jvmArg>
|
||
<jvmArg>-XX:MaxMetaspaceSize=2g</jvmArg>
|
||
</jvmArgs>
|
||
<javacArgs>
|
||
<javacArg>-source</javacArg>
|
||
<javacArg>${java.version}</javacArg>
|
||
<javacArg>-target</javacArg>
|
||
<javacArg>${java.version}</javacArg>
|
||
<javacArg>-Xlint:all,-serial,-path,-try</javacArg>
|
||
</javacArgs>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>scala-compile-first</id>
|
||
<goals>
|
||
<goal>compile</goal>
|
||
<goal>add-source</goal>
|
||
</goals>
|
||
<phase>process-resources</phase>
|
||
</execution>
|
||
<execution>
|
||
<id>scala-test-compile-first</id>
|
||
<goals>
|
||
<goal>testCompile</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.apache.felix</groupId>
|
||
<artifactId>maven-bundle-plugin</artifactId>
|
||
<version>3.0.1</version>
|
||
<extensions>true</extensions>
|
||
<inherited>true</inherited>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.neo4j</groupId>
|
||
<artifactId>scalastyle-maven-plugin</artifactId>
|
||
<version>1.1.1</version>
|
||
<configuration>
|
||
<verbose>false</verbose>
|
||
<failOnViolation>true</failOnViolation>
|
||
<includeTestSourceDirectory>false</includeTestSourceDirectory>
|
||
<failOnWarning>false</failOnWarning>
|
||
<sourceDirectory>${basedir}/src/main/scala</sourceDirectory>
|
||
<testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>
|
||
<configLocation>scalastyle-config.xml</configLocation>
|
||
<outputFile>${basedir}/target/scalastyle-output.xml</outputFile>
|
||
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
|
||
<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<goals>
|
||
<goal>check</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<!-- enable scalatest -->
|
||
<plugin>
|
||
<groupId>org.scalatest</groupId>
|
||
<artifactId>scalatest-maven-plugin</artifactId>
|
||
<version>2.2.0</version>
|
||
<configuration>
|
||
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
|
||
<junitxml>.</junitxml>
|
||
<filereports>WDF TestSuite.txt</filereports>
|
||
<noScalaTestIgnore>true</noScalaTestIgnore>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>test</id>
|
||
<goals>
|
||
<goal>test</goal>
|
||
</goals>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
|
||
<plugin>
|
||
<groupId>org.jacoco</groupId>
|
||
<artifactId>jacoco-maven-plugin</artifactId>
|
||
<version>0.8.10</version>
|
||
<configuration>
|
||
<formats>XML</formats>
|
||
</configuration>
|
||
<executions>
|
||
<execution>
|
||
<id>coverage-initialize</id>
|
||
<goals>
|
||
<goal>prepare-agent</goal>
|
||
</goals>
|
||
</execution>
|
||
<execution>
|
||
<id>coverage-report</id>
|
||
<goals>
|
||
<goal>report</goal>
|
||
</goals>
|
||
<phase>post-integration-test</phase>
|
||
</execution>
|
||
<execution>
|
||
<id>report-aggregate</id>
|
||
<goals>
|
||
<goal>report-aggregate</goal>
|
||
</goals>
|
||
<phase>test</phase>
|
||
</execution>
|
||
</executions>
|
||
</plugin>
|
||
</plugins>
|
||
</build>
|
||
|
||
</project>
|