legend-delta
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>org.finos.legend-community</groupId> <artifactId>legend-delta</artifactId> <version>0.1.10</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <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.finos</groupId> <artifactId>finos</artifactId> <version>4</version> </parent> <groupId>org.finos.legend-community</groupId> <artifactId>legend-delta</artifactId> <version>0.1.10</version> <name>legend-delta</name> <description>Interpreting Legend schema definitions and constraints with Spark</description> <inceptionYear>2021</inceptionYear> <developers> <developer> <id>aamend</id> <name>Antoine Amend</name> <email>antoine.amend@databricks.com</email> <timezone>MST</timezone> <organization>Databricks</organization> <organizationUrl>https://databricks.com/</organizationUrl> <roles> <role>Technical Director - Financial Services</role> </roles> </developer> </developers> <organization> <name>FINOS</name> <url>https://www.finos.org/</url> </organization> <licenses> <license> <name>Apache-2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <scm> <developerConnection>scm:git:https://github.com/finos/legend-delta</developerConnection> <tag>legend-delta-0.1.10</tag> </scm> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <scala.version>2.12.12</scala.version> <scala.binary.version>2.12</scala.binary.version> <spark.version>3.2.1</spark.version> <java.version>11</java.version> <delta.version>2.0.0</delta.version> <legend.engine.version>3.14.1</legend.engine.version> <legend.sdlc.version>0.89.1</legend.sdlc.version> <legend.pure.version>3.6.0</legend.pure.version> </properties> <dependencies> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-library</artifactId> <version>${scala.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.scala-lang</groupId> <artifactId>scala-reflect</artifactId> <version>${scala.version}</version> <scope>provided</scope> </dependency> <!--SPARK DEPENDENCIES (provided)--> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_${scala.binary.version}</artifactId> <version>${spark.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-sql_${scala.binary.version}</artifactId> <version>${spark.version}</version> <scope>provided</scope> </dependency> <!-- DELTA LAKE LIBRARY --> <dependency> <groupId>io.delta</groupId> <artifactId>delta-core_${scala.binary.version}</artifactId> <version>${delta.version}</version> </dependency> <!-- LEGEND DEPENDENCIES --> <dependency> <!-- DBR comes with its own PAC version --> <groupId>org.pac4j</groupId> <artifactId>pac4j-core</artifactId> <version>3.9.0</version> </dependency> <!-- Spark runtime comes with its own antlr version (4.5) and returns warning--> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4-runtime</artifactId> <version>4.8-1</version> </dependency> <dependency> <groupId>org.antlr</groupId> <artifactId>antlr4</artifactId> <version>4.8-1</version> </dependency> <dependency> <groupId>org.finos.legend.sdlc</groupId> <artifactId>legend-sdlc-model</artifactId> <version>${legend.sdlc.version}</version> </dependency> <dependency> <groupId>org.finos.legend.sdlc</groupId> <artifactId>legend-sdlc-protocol-pure</artifactId> <version>${legend.sdlc.version}</version> <exclusions> <exclusion> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> </exclusion> <exclusion> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> </exclusion> <exclusion> <groupId>org.mongodb</groupId> <artifactId>bson</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.finos.legend.sdlc</groupId> <artifactId>legend-sdlc-protocol</artifactId> <version>${legend.sdlc.version}</version> <exclusions> <exclusion> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.finos.legend.sdlc</groupId> <artifactId>legend-sdlc-generation-service</artifactId> <version>${legend.sdlc.version}</version> <exclusions> <exclusion> <groupId>javax.ws.rs</groupId> <artifactId>javax.ws.rs-api</artifactId> </exclusion> <exclusion> <groupId>org.mongodb</groupId> <artifactId>mongo-java-driver</artifactId> </exclusion> <exclusion> <groupId>junit</groupId> <artifactId>junit</artifactId> </exclusion> <exclusion> <groupId>com.zaxxer</groupId> <artifactId>HikariCP</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.finos.legend.pure</groupId> <artifactId>legend-pure-m3-core</artifactId> <version>${legend.pure.version}</version> </dependency> <dependency> <groupId>org.finos.legend.pure</groupId> <artifactId>legend-pure-m3-dsl-graph</artifactId> <version>${legend.pure.version}</version> </dependency> <dependency> <groupId>org.finos.legend.pure</groupId> <artifactId>legend-pure-m2-dsl-diagram</artifactId> <version>${legend.pure.version}</version> </dependency> <dependency> <groupId>org.finos.legend.engine</groupId> <artifactId>legend-engine-xt-relationalStore-protocol</artifactId> <version>${legend.engine.version}</version> <exclusions> <exclusion> <groupId>org.mongodb</groupId> <artifactId>bson</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.finos.legend.engine</groupId> <artifactId>legend-engine-xt-relationalStore-pure</artifactId> <version>${legend.engine.version}</version> <exclusions> <exclusion> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </exclusion> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-dbcp</artifactId> </exclusion> <exclusion> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.finos.legend.engine</groupId> <artifactId>legend-engine-xt-relationalStore-grammar</artifactId> <version>${legend.engine.version}</version> <exclusions> <exclusion> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </exclusion> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-dbcp</artifactId> </exclusion> <exclusion> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.finos.legend.engine</groupId> <artifactId>legend-engine-xt-relationalStore-executionPlan</artifactId> <version>${legend.engine.version}</version> <exclusions> <exclusion> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </exclusion> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-dbcp</artifactId> </exclusion> <exclusion> <groupId>org.bouncycastle</groupId> <artifactId>bcprov-jdk15on</artifactId> </exclusion> </exclusions> </dependency> <!-- USER DEPENDENCIES --> <dependency> <groupId>com.github.jsqlparser</groupId> <artifactId>jsqlparser</artifactId> <version>4.5</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> <version>2.13.3</version> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-annotations</artifactId> <version>2.13.3</version> </dependency> <!-- TEST DEPENDENCIES --> <dependency> <groupId>org.scalatest</groupId> <artifactId>scalatest_${scala.binary.version}</artifactId> <version>3.3.0-SNAP3</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>3.10.1</version> <configuration> <source>${java.version}</source> <target>${java.version}</target> </configuration> </plugin> <plugin> <groupId>net.alchim31.maven</groupId> <artifactId>scala-maven-plugin</artifactId> <version>4.7.1</version> <executions> <execution> <goals> <goal>compile</goal> <goal>testCompile</goal> </goals> </execution> <execution> <id>attach-javadocs</id> <goals> <goal>doc-jar</goal> <goal>add-source</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.22.2</version> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <groupId>org.scalatest</groupId> <artifactId>scalatest-maven-plugin</artifactId> <version>2.1.0-SNAP2</version> <configuration> <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory> <junitxml>.</junitxml> <filereports>WDF TestSuite.txt</filereports> </configuration> <executions> <execution> <id>test</id> <goals> <goal>test</goal> </goals> </execution> </executions> </plugin> <!-- Enabling python tests by copying all required jars --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <version>3.3.0</version> <executions> <execution> <id>copy-dependencies</id> <phase>integration-test</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.basedir}/python/build/dependencies</outputDirectory> <overWriteReleases>true</overWriteReleases> <overWriteSnapshots>true</overWriteSnapshots> <overWriteIfNewer>true</overWriteIfNewer> <excludeGroupIds>org.antlr</excludeGroupIds> </configuration> </execution> </executions> </plugin> <!-- Enabling python tests by copying generated byte code --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <version>3.0.2</version> <executions> <execution> <id>copy-files-on-build</id> <phase>integration-test</phase> <goals> <goal>copy-resources</goal> </goals> <configuration> <outputDirectory>${project.basedir}/python/build/dependencies</outputDirectory> <resources> <resource> <directory>${project.build.directory}</directory> <include>*.jar</include> <filtering>false</filtering> </resource> </resources> </configuration> </execution> </executions> </plugin> <!-- Execute pyspark tests --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>3.1.0</version> <executions> <execution> <id>python-prepare</id> <phase>integration-test</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>pip</executable> <workingDirectory>${project.basedir}/python</workingDirectory> <arguments> <argument>install</argument> <argument>-r</argument> <argument>requirements.txt</argument> <argument>coverage</argument> </arguments> </configuration> </execution> <execution> <id>python-test</id> <phase>integration-test</phase> <goals> <goal>exec</goal> </goals> <configuration> <executable>coverage</executable> <workingDirectory>${project.basedir}/python</workingDirectory> <arguments> <argument>run</argument> <argument>-m</argument> <argument>unittest</argument> <argument>tests/tests.py</argument> </arguments> </configuration> </execution> </executions> </plugin> <!-- delete additional directory for maven clean --> <plugin> <artifactId>maven-clean-plugin</artifactId> <version>3.2.0</version> <configuration> <filesets> <fileset> <directory>python/build</directory> <followSymlinks>false</followSymlinks> </fileset> <fileset> <directory>python/dist</directory> <followSymlinks>false</followSymlinks> </fileset> <fileset> <directory>python/legend_delta.egg-info</directory> <followSymlinks>false</followSymlinks> </fileset> <fileset> <directory>python</directory> <followSymlinks>false</followSymlinks> <includes> <include>.coverage</include> </includes> </fileset> </filesets> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>2.22.2</version> <executions> <execution> <goals> <goal>integration-test</goal> <goal>verify</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>0.8.8</version> <executions> <execution> <goals> <goal>prepare-agent</goal> </goals> </execution> <execution> <id>code-coverage-report</id> <phase>test</phase> <goals> <goal>report</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>3.2.1</version> <executions> <execution> <id>attach-sources</id> <phase>verify</phase> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.plugins</groupId> <artifactId>nexus-staging-maven-plugin</artifactId> <version>1.6.13</version> <extensions>true</extensions> <configuration> <serverId>ossrh</serverId> <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> <autoReleaseAfterClose>true</autoReleaseAfterClose> </configuration> </plugin> </plugins> </build> <repositories> <repository> <id>ossrh</id> <name>OSSRH Public Group</name> <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>ossrh-releases</id> <name>OSSRH Public Releases Group</name> <url>https://s01.oss.sonatype.org/content/repositories/releases/</url> </repository> </repositories> </project>