submarine-spark-security
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.apache.submarine</groupId>
<artifactId>submarine-spark-security</artifactId>
<version>0.6.0</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/maven-v4_0_0.xsd">
<parent>
<artifactId>submarine</artifactId>
<groupId>org.apache.submarine</groupId>
<version>0.6.0</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>submarine-spark-security</artifactId>
<name>Submarine: Spark Security</name>
<build>
<outputDirectory>target/scala-${scala.binary.version}/classes</outputDirectory>
<testOutputDirectory>target/scala-${scala.binary.version}/test-classes</testOutputDirectory>
<testResources>
<testResource>
<directory>${project.basedir}/src/test/resources</directory>
</testResource>
</testResources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<executions>
<execution>
<id>add-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>ranger-${ranger.major.version}/src/main/scala</source>
<source>target/generated-sources/antlr4</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-spark-source</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>spark-${spark.compatible.version}/src/main/scala</source>
</sources>
</configuration>
</execution>
<execution>
<id>add-test-source</id>
<phase>generate-test-sources</phase>
<goals>
<goal>add-test-source</goal>
</goals>
<configuration>
<sources>
<source>ranger-${ranger.major.version}/src/test/scala</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.2.2</version>
<executions>
<execution>
<id>eclipse-add-source</id>
<goals>
<goal>add-source</goal>
</goals>
</execution>
<execution>
<id>scala-compile-first</id>
<goals>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile-first</id>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
<configuration>
<scalaVersion>${scala.version}</scalaVersion>
<recompileMode>incremental</recompileMode>
<useZincServer>true</useZincServer>
<args>
<arg>-unchecked</arg>
<arg>-deprecation</arg>
<arg>-feature</arg>
<arg>-explaintypes</arg>
<arg>-Yno-adapted-args</arg>
</args>
<jvmArgs>
<jvmArg>-Xms1024m</jvmArg>
<jvmArg>-Xmx1024m</jvmArg>
<jvmArg>-XX:ReservedCodeCacheSize=512M</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>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>${plugin.shade.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer />
</transformers>
</configuration>
</execution>
</executions>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
<artifactSet>
<includes>
<include>com.google.code.gson:gson</include>
<include>com.sun.jersey:jersey-bundle</include>
<include>com.kstruct:gethostname4j</include>
<include>net.java.dev.jna:jna</include>
<include>net.java.dev.jna:jna-platform</include>
<include>org.apache.httpcomponents:httpclient</include>
<include>org.apache.httpcomponents:httpcore</include>
<include>org.apache.httpcomponents:httpmime</include>
<include>org.apache.ranger:ranger-plugins-common</include>
<include>org.apache.ranger:ranger-plugins-cred</include>
<include>org.apache.ranger:ranger-plugins-audit</include>
<include>org.apache.solr:solr-solrj</include>
<include>org.codehaus.jackson:jackson-core-asl</include>
<include>org.codehaus.jackson:jackson-jaxrs</include>
<include>org.codehaus.jackson:jackson-mapper-asl</include>
<include>org.codehaus.jackson:jackson-xc</include>
<include>org.eclipse.persistence:eclipselink</include>
<include>org.eclipse.persistence:javax.persistence</include>
<include>org.apache.hive:hive-exec</include>
<include>org.noggit:noggit</include>
</includes>
</artifactSet>
<filters>
<filter>
<artifact>org.apache.hive:hive-exec</artifact>
<includes>
<include>org/apache/hadoop/hive/ql/udf/generic/**Mask**</include>
<include>org/apache/hadoop/hive/ql/udf/generic/**Transform**</include>
</includes>
</filter>
</filters>
<relocations>
<relocation>
<pattern>com.sun.jersey</pattern>
<shadedPattern>${ranger.spark.package}.com.sun.jersey</shadedPattern>
</relocation>
<relocation>
<pattern>com.sun.research</pattern>
<shadedPattern>${ranger.spark.package}.com.sun.research</shadedPattern>
</relocation>
<relocation>
<pattern>com.sun.ws</pattern>
<shadedPattern>${ranger.spark.package}.com.sun.ws</shadedPattern>
</relocation>
<relocation>
<pattern>jersey.repackaged</pattern>
<shadedPattern>${ranger.spark.package}.jersey.repackaged</shadedPattern>
</relocation>
<relocation>
<pattern>javax.ws.rs</pattern>
<shadedPattern>${ranger.spark.package}.javax.ws.rs</shadedPattern>
</relocation>
<relocation>
<pattern>org.codehaus</pattern>
<shadedPattern>${ranger.spark.package}.org.codehaus</shadedPattern>
</relocation>
</relocations>
</configuration>
</plugin>
<plugin>
<artifactId>maven-enforcer-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.scalatest</groupId>
<artifactId>scalatest-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<id>test</id>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>TestSuite.txt</filereports>
</configuration>
</plugin>
<plugin>
<groupId>org.antlr</groupId>
<artifactId>antlr4-maven-plugin</artifactId>
<version>${antlr4.version}</version>
<executions>
<execution>
<goals>
<goal>antlr4</goal>
</goals>
</execution>
</executions>
<configuration>
<visitor>true</visitor>
<sourceDirectory>./src/main/antlr4</sourceDirectory>
<treatWarningsAsErrors>true</treatWarningsAsErrors>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.0</version>
<executions>
<execution>
<id>pre-test</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
<configuration />
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>spark-2.4</id>
<properties>
<scalatest.version>3.0.3</scalatest.version>
<spark.version>2.4.7</spark.version>
</properties>
</profile>
<profile>
<id>spark-3.0</id>
<properties>
<commons-lang3.version>3.9</commons-lang3.version>
<jackson-annotations.version>2.10.5</jackson-annotations.version>
<scala.version>2.12.10</scala.version>
<jackson-databind.version>2.10.5</jackson-databind.version>
<spark.compatible.version>3</spark.compatible.version>
<scala.binary.version>2.12</scala.binary.version>
<spark.version>3.0.2</spark.version>
</properties>
</profile>
<profile>
<id>ranger-1.2</id>
<properties>
<jersey-bundle.version>1.19.3</jersey-bundle.version>
<httpcomponents.httpmime.version>4.5.3</httpcomponents.httpmime.version>
<noggit.version>0.6</noggit.version>
<eclipse.jpa.version>2.5.2</eclipse.jpa.version>
<gson.version>2.2.4</gson.version>
<ranger.version>1.2.0</ranger.version>
<httpcomponents.httpclient.version>4.5.3</httpcomponents.httpclient.version>
<solr.version>5.5.4</solr.version>
<javax.persistence.version>2.1.0</javax.persistence.version>
<httpcomponents.httpcore.version>4.4.1</httpcomponents.httpcore.version>
</properties>
</profile>
<profile>
<id>ranger-2.0</id>
<properties>
<solr.version>7.7.1</solr.version>
<httpcomponents.httpcore.version>4.4.6</httpcomponents.httpcore.version>
<httpcomponents.httpclient.version>4.5.3</httpcomponents.httpclient.version>
<gethostname4j.scope>compile</gethostname4j.scope>
<httpcomponents.httpmime.version>4.5.3</httpcomponents.httpmime.version>
<ranger.version>2.0.0</ranger.version>
<ranger.major.version>2.0</ranger.major.version>
<jna.scope>compile</jna.scope>
</properties>
</profile>
<profile>
<id>ranger-2.1</id>
<properties>
<gethostname4j.scope>compile</gethostname4j.scope>
<httpcomponents.httpmime.version>4.5.3</httpcomponents.httpmime.version>
<ranger.version>2.1.0</ranger.version>
<elasticsearch.version>7.10.2</elasticsearch.version>
<httpcomponents.httpclient.version>4.5.3</httpcomponents.httpclient.version>
<jna.scope>compile</jna.scope>
<ranger.major.version>2.1</ranger.major.version>
<solr.version>7.7.1</solr.version>
<httpcomponents.httpcore.version>4.4.6</httpcomponents.httpcore.version>
</properties>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>2.11.8</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-catalyst_2.11</artifactId>
<version>2.4.7</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>*</artifactId>
<groupId>org.spark-project.spark</groupId>
</exclusion>
<exclusion>
<artifactId>*</artifactId>
<groupId>org.scala-lang.modules</groupId>
</exclusion>
<exclusion>
<artifactId>janino</artifactId>
<groupId>org.codehaus.janino</groupId>
</exclusion>
<exclusion>
<artifactId>commons-compiler</artifactId>
<groupId>org.codehaus.janino</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_2.11</artifactId>
<version>2.4.7</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<artifactId>*</artifactId>
<groupId>org.spark-project.spark</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.elasticsearch</groupId>
<artifactId>elasticsearch</artifactId>
<version>7.10.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-runtime</artifactId>
<version>4.7</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest_2.11</artifactId>
<version>3.0.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_2.11</artifactId>
<version>2.4.7</version>
<type>test-jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-hive_2.11</artifactId>
<version>2.4.7</version>
<type>test-jar</type>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.kstruct</groupId>
<artifactId>gethostname4j</artifactId>
<version>0.0.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna</artifactId>
<version>5.2.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>net.java.dev.jna</groupId>
<artifactId>jna-platform</artifactId>
<version>5.2.0</version>
<scope>test</scope>
</dependency>
</dependencies>
<properties>
<spark.compatible.version>2</spark.compatible.version>
<jna-platform.version>5.2.0</jna-platform.version>
<antlr4.version>4.7</antlr4.version>
<spark.version>2.4.7</spark.version>
<ranger.major.version>1</ranger.major.version>
<scala.version>2.11.8</scala.version>
<jna.version>5.2.0</jna.version>
<gson.version>2.2.4</gson.version>
<gethostname4j.version>0.0.2</gethostname4j.version>
<scala.binary.version>2.11</scala.binary.version>
<javax.persistence.version>2.1.0</javax.persistence.version>
<eclipse.jpa.version>2.5.2</eclipse.jpa.version>
<ranger.version>1.2.0</ranger.version>
<httpcomponents.httpmime.version>4.5.3</httpcomponents.httpmime.version>
<jna.scope>test</jna.scope>
<scalatest.version>2.2.6</scalatest.version>
<solr.version>8.4.0</solr.version>
<jersey-bundle.version>1.19.3</jersey-bundle.version>
<httpcomponents.httpclient.version>4.5.3</httpcomponents.httpclient.version>
<noggit.version>0.6</noggit.version>
<gethostname4j.scope>test</gethostname4j.scope>
<ranger.spark.package>submarine_spark_ranger_project</ranger.spark.package>
<elasticsearch.version>7.10.2</elasticsearch.version>
<spark.scope>provided</spark.scope>
<codehaus.jackson.version>1.9.13</codehaus.jackson.version>
<httpcomponents.httpcore.version>4.4.6</httpcomponents.httpcore.version>
</properties>
</project>