Skip to content
Snippets Groups Projects
pom.xml 97.4 KiB
Newer Older
  • Learn to ignore specific revisions
  •                     </excludes>
                        <searchTransitive>true</searchTransitive>
                      </bannedDependencies>
    
                    </rules>
                  </configuration>
                </execution>
              </executions>
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>build-helper-maven-plugin</artifactId>
    
              <version>3.0.0</version>
    
            </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>-explaintypes</arg>
                  <arg>-Yno-adapted-args</arg>
    
                </args>
                <jvmArgs>
    
                  <jvmArg>-Xmx1024m</jvmArg>
    
                  <jvmArg>-XX:ReservedCodeCacheSize=${CodeCacheSize}</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>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-compiler-plugin</artifactId>
    
              <version>3.6.1</version>
    
              <configuration>
    
                <source>${java.version}</source>
                <target>${java.version}</target>
    
                <skipMain>true</skipMain> <!-- skip compile -->
                <skip>true</skip> <!-- skip testCompile -->
    
              </configuration>
            </plugin>
    
            <plugin>
              <groupId>org.antlr</groupId>
              <artifactId>antlr4-maven-plugin</artifactId>
              <version>${antlr4.version}</version>
            </plugin>
    
            <!-- Surefire runs all Java tests -->
    
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-surefire-plugin</artifactId>
    
              <!-- Note config is repeated in scalatest config -->
    
              <configuration>
    
                <includes>
                  <include>**/Test*.java</include>
                  <include>**/*Test.java</include>
                  <include>**/*TestCase.java</include>
                  <include>**/*Suite.java</include>
                </includes>
                <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
    
                <argLine>-Xmx3g -Xss4096k -XX:ReservedCodeCacheSize=${CodeCacheSize}</argLine>
    
                <environmentVariables>
                  <!--
                    Setting SPARK_DIST_CLASSPATH is a simple way to make sure any child processes
                    launched by the tests have access to the correct test-time classpath.
                  -->
                  <SPARK_DIST_CLASSPATH>${test_classpath}</SPARK_DIST_CLASSPATH>
    
                  <SPARK_PREPEND_CLASSES>1</SPARK_PREPEND_CLASSES>
    
                  <SPARK_SCALA_VERSION>${scala.binary.version}</SPARK_SCALA_VERSION>
    
                  <SPARK_TESTING>1</SPARK_TESTING>
    
                  <JAVA_HOME>${test.java.home}</JAVA_HOME>
    
                  <log4j.configuration>file:src/test/resources/log4j.properties</log4j.configuration>
    
                  <derby.system.durability>test</derby.system.durability>
    
                  <java.awt.headless>true</java.awt.headless>
    
                  <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
    
                  <spark.test.home>${spark.test.home}</spark.test.home>
    
                  <spark.testing>1</spark.testing>
    
                  <spark.master.rest.enabled>false</spark.master.rest.enabled>
    
                  <spark.ui.enabled>false</spark.ui.enabled>
                  <spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress>
    
                  <spark.unsafe.exceptionOnMemoryLeak>true</spark.unsafe.exceptionOnMemoryLeak>
    
                  <spark.memory.debugFill>true</spark.memory.debugFill>
    
                  <!-- Needed by sql/hive tests. -->
                  <test.src.tables>src</test.src.tables>
    
                <excludedGroups>${test.exclude.tags}</excludedGroups>
    
              </configuration>
    
              <executions>
                <execution>
                  <id>test</id>
                  <goals>
                    <goal>test</goal>
                  </goals>
                </execution>
              </executions>
    
            <!-- Scalatest runs all Scala tests -->
    
            <plugin>
              <groupId>org.scalatest</groupId>
              <artifactId>scalatest-maven-plugin</artifactId>
    
              <!-- Note config is repeated in surefire config -->
    
              <configuration>
                <reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
                <junitxml>.</junitxml>
    
                <filereports>SparkTestSuite.txt</filereports>
    
                <argLine>-ea -Xmx3g -XX:ReservedCodeCacheSize=${CodeCacheSize}</argLine>
    
    witgo's avatar
    witgo committed
                <stderr/>
    
                <environmentVariables>
                  <!--
                    Setting SPARK_DIST_CLASSPATH is a simple way to make sure any child processes
                    launched by the tests have access to the correct test-time classpath.
                  -->
                  <SPARK_DIST_CLASSPATH>${test_classpath}</SPARK_DIST_CLASSPATH>
    
                  <SPARK_PREPEND_CLASSES>1</SPARK_PREPEND_CLASSES>
    
                  <SPARK_SCALA_VERSION>${scala.binary.version}</SPARK_SCALA_VERSION>
    
                  <SPARK_TESTING>1</SPARK_TESTING>
    
                  <JAVA_HOME>${test.java.home}</JAVA_HOME>
    
                  <log4j.configuration>file:src/test/resources/log4j.properties</log4j.configuration>
    
                  <derby.system.durability>test</derby.system.durability>
    
                  <java.awt.headless>true</java.awt.headless>
    
                  <java.io.tmpdir>${project.build.directory}/tmp</java.io.tmpdir>
    
                  <spark.test.home>${spark.test.home}</spark.test.home>
    
                  <spark.testing>1</spark.testing>
    
                  <spark.ui.enabled>false</spark.ui.enabled>
    
                  <spark.ui.showConsoleProgress>false</spark.ui.showConsoleProgress>
    
                  <spark.unsafe.exceptionOnMemoryLeak>true</spark.unsafe.exceptionOnMemoryLeak>
    
                  <!-- Needed by sql/hive tests. -->
                  <test.src.tables>__not_used__</test.src.tables>
    
                <tagsToExclude>${test.exclude.tags}</tagsToExclude>
    
              </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>
    
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-antrun-plugin</artifactId>
    
              <version>${maven-antrun.version}</version>
    
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-source-plugin</artifactId>
    
              <configuration>
                <attach>true</attach>
              </configuration>
              <executions>
                <execution>
                  <id>create-source-jar</id>
                  <goals>
                    <goal>jar-no-fork</goal>
    
                  </goals>
                </execution>
              </executions>
            </plugin>
    
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-clean-plugin</artifactId>
    
              <configuration>
                <filesets>
                  <fileset>
                    <directory>work</directory>
                  </fileset>
                  <fileset>
                    <directory>checkpoint</directory>
                  </fileset>
    
                  <fileset>
                    <directory>lib_managed</directory>
                  </fileset>
    
                </filesets>
              </configuration>
            </plugin>
    
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-javadoc-plugin</artifactId>
    
              <configuration>
                <additionalparam>-Xdoclint:all -Xdoclint:-missing</additionalparam>
                <tags>
                  <tag>
                    <name>example</name>
                    <placement>a</placement>
                    <head>Example:</head>
                  </tag>
                  <tag>
                    <name>note</name>
                    <placement>a</placement>
                    <head>Note:</head>
                  </tag>
                  <tag>
                    <name>group</name>
                    <placement>X</placement>
                  </tag>
                  <tag>
                    <name>tparam</name>
                    <placement>X</placement>
                  </tag>
                  <tag>
                    <name>constructor</name>
                    <placement>X</placement>
                  </tag>
                  <tag>
                    <name>todo</name>
                    <placement>X</placement>
                  </tag>
                  <tag>
                    <name>groupname</name>
                    <placement>X</placement>
                  </tag>
                </tags>
              </configuration>
    
            </plugin>
            <plugin>
              <groupId>org.codehaus.mojo</groupId>
              <artifactId>exec-maven-plugin</artifactId>
    
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-assembly-plugin</artifactId>
    
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-shade-plugin</artifactId>
    
              <version>3.0.0</version>
    
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-install-plugin</artifactId>
              <version>2.5.2</version>
            </plugin>
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-deploy-plugin</artifactId>
              <version>2.8.2</version>
    
            <plugin>
              <groupId>org.apache.maven.plugins</groupId>
              <artifactId>maven-dependency-plugin</artifactId>
    
              <version>3.0.0</version>
    
              <executions>
                <execution>
                  <id>default-cli</id>
                  <goals>
                     <goal>build-classpath</goal>
                  </goals>
                  <configuration>
                    <!-- This includes dependencies with 'runtime' and 'compile' scopes;
                         see the docs for includeScope for more details -->
                    <includeScope>runtime</includeScope>
                  </configuration>
                </execution>
              </executions>
            </plugin>
    
            <!-- This plugin's configuration is used to store Eclipse m2e settings only. -->
            <!-- It has no influence on the Maven build itself. -->
            <plugin>
              <groupId>org.eclipse.m2e</groupId>
              <artifactId>lifecycle-mapping</artifactId>
              <version>1.0.0</version>
              <configuration>
                <lifecycleMappingMetadata>
                  <pluginExecutions>
                    <pluginExecution>
                      <pluginExecutionFilter>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-dependency-plugin</artifactId>
                        <versionRange>[2.8,)</versionRange>
                        <goals>
                          <goal>build-classpath</goal>
                        </goals>
                      </pluginExecutionFilter>
                      <action>
                        <ignore></ignore>
                      </action>
                    </pluginExecution>
                    <pluginExecution>
                      <pluginExecutionFilter>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-jar-plugin</artifactId>
                        <versionRange>[2.6,)</versionRange>
                        <goals>
                          <goal>test-jar</goal>
                        </goals>
                      </pluginExecutionFilter>
                      <action>
                        <ignore></ignore>
                      </action>
                    </pluginExecution>
                    <pluginExecution>
                      <pluginExecutionFilter>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-antrun-plugin</artifactId>
    
                        <versionRange>[${maven-antrun.version},)</versionRange>
    
                        <goals>
                          <goal>run</goal>
                        </goals>
                      </pluginExecutionFilter>
                      <action>
                        <ignore></ignore>
                      </action>
                    </pluginExecution>
                  </pluginExecutions>
                </lifecycleMappingMetadata>
              </configuration>
            </plugin>
    
          </plugins>
        </pluginManagement>
    
        <plugins>
    
          <!-- This plugin dumps the test classpath into a file -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-dependency-plugin</artifactId>
            <executions>
              <execution>
    
                <id>generate-test-classpath</id>
    
                <phase>test-compile</phase>
                <goals>
                  <goal>build-classpath</goal>
                </goals>
                <configuration>
                  <includeScope>test</includeScope>
    
                  <outputProperty>test_classpath</outputProperty>
    
                </configuration>
              </execution>
    
              <execution>
                <id>copy-module-dependencies</id>
                <phase>${build.copyDependenciesPhase}</phase>
                <goals>
                  <goal>copy-dependencies</goal>
                </goals>
                <configuration>
                  <includeScope>runtime</includeScope>
                  <outputDirectory>${jars.target.dir}</outputDirectory>
                </configuration>
              </execution>
    
            </executions>
          </plugin>
    
    
          <!--
            The shade plug-in is used here to create effective pom's (see SPARK-3812), and also
            remove references from the shaded libraries from artifacts published by Spark.
          -->
    
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-shade-plugin</artifactId>
            <configuration>
              <shadedArtifactAttached>false</shadedArtifactAttached>
              <artifactSet>
                <includes>
    
                  <include>org.spark-project.spark:unused</include>
    
                  <include>org.eclipse.jetty:jetty-io</include>
                  <include>org.eclipse.jetty:jetty-http</include>
    
                  <include>org.eclipse.jetty:jetty-proxy</include>
                  <include>org.eclipse.jetty:jetty-client</include>
    
                  <include>org.eclipse.jetty:jetty-continuation</include>
                  <include>org.eclipse.jetty:jetty-servlet</include>
    
                  <include>org.eclipse.jetty:jetty-servlets</include>
    
                  <include>org.eclipse.jetty:jetty-plus</include>
                  <include>org.eclipse.jetty:jetty-security</include>
                  <include>org.eclipse.jetty:jetty-util</include>
                  <include>org.eclipse.jetty:jetty-server</include>
                  <include>com.google.guava:guava</include>
    
                  <include>org.jpmml:*</include>
    
                <relocation>
                  <pattern>org.eclipse.jetty</pattern>
    
                  <shadedPattern>${spark.shade.packageName}.jetty</shadedPattern>
    
                  <includes>
                    <include>org.eclipse.jetty.**</include>
                  </includes>
                </relocation>
    
                <relocation>
                  <pattern>com.google.common</pattern>
    
                  <shadedPattern>${spark.shade.packageName}.guava</shadedPattern>
    
                <relocation>
                  <pattern>org.dmg.pmml</pattern>
                  <shadedPattern>${spark.shade.packageName}.dmg.pmml</shadedPattern>
                </relocation>
                <relocation>
                  <pattern>org.jpmml</pattern>
                  <shadedPattern>${spark.shade.packageName}.jpmml</shadedPattern>
                </relocation>
    
            </configuration>
            <executions>
              <execution>
                <phase>package</phase>
                <goals>
                  <goal>shade</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
    
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-enforcer-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>net.alchim31.maven</groupId>
            <artifactId>scala-maven-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-source-plugin</artifactId>
          </plugin>
    
          <plugin>
            <groupId>org.scalastyle</groupId>
            <artifactId>scalastyle-maven-plugin</artifactId>
    
            <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>
    
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-checkstyle-plugin</artifactId>
            <version>2.17</version>
            <configuration>
              <verbose>false</verbose>
              <failOnViolation>false</failOnViolation>
              <includeTestSourceDirectory>true</includeTestSourceDirectory>
              <failOnWarning>false</failOnWarning>
    
              <sourceDirectories>${basedir}/src/main/java,${basedir}/src/main/scala</sourceDirectories>
    
              <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
    
              <configLocation>dev/checkstyle.xml</configLocation>
    
              <outputFile>${basedir}/target/checkstyle-output.xml</outputFile>
              <inputEncoding>${project.build.sourceEncoding}</inputEncoding>
              <outputEncoding>${project.reporting.outputEncoding}</outputEncoding>
            </configuration>
            <executions>
              <execution>
                <goals>
                  <goal>check</goal>
                </goals>
              </execution>
            </executions>
          </plugin>
    
    
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-antrun-plugin</artifactId>
            <executions>
              <execution>
                <id>create-tmp-dir</id>
                <phase>generate-test-resources</phase>
                <goals>
                  <goal>run</goal>
                </goals>
                <configuration>
                  <target>
                    <mkdir dir="${project.build.directory}/tmp" />
                  </target>
                </configuration>
              </execution>
            </executions>
          </plugin>
    
    
          <!-- Enable surefire and scalatest in all children, in one place: -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
          </plugin>
          <plugin>
            <groupId>org.scalatest</groupId>
            <artifactId>scalatest-maven-plugin</artifactId>
          </plugin>
    
          <!-- Build test-jar's for all projects, since some projects depend on tests from others -->
          <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-jar-plugin</artifactId>
            <executions>
              <execution>
                <id>prepare-test-jar</id>
    
                <phase>${build.testJarPhase}</phase>
    
                <goals>
                  <goal>test-jar</goal>
                </goals>
                <configuration>
                  <excludes>
                    <exclude>log4j.properties</exclude>
                  </excludes>
                </configuration>
              </execution>
            </executions>
          </plugin>
    
        </plugins>
      </build>
    
      <profiles>
    
          This profile is enabled automatically by the sbt build. It changes the scope for shaded
          dependencies, since we don't shade it in the artifacts generated by the sbt build.
    
        -->
        <profile>
          <id>sbt</id>
          <dependencies>
            <dependency>
              <groupId>com.google.guava</groupId>
              <artifactId>guava</artifactId>
              <scope>compile</scope>
            </dependency>
    
            <dependency>
              <groupId>org.jpmml</groupId>
              <artifactId>pmml-model</artifactId>
              <scope>compile</scope>
            </dependency>
    
          </dependencies>
        </profile>
    
    
        <!-- Ganglia integration is not included by default due to LGPL-licensed code -->
        <profile>
          <id>spark-ganglia-lgpl</id>
          <modules>
    
            <module>external/spark-ganglia-lgpl</module>
    
        <!-- Kinesis integration is not included by default due to ASL-licensed code -->
        <profile>
          <id>kinesis-asl</id>
          <modules>
    
            <module>external/kinesis-asl</module>
            <module>external/kinesis-asl-assembly</module>
    
        <profile>
          <id>docker-integration-tests</id>
          <modules>
            <module>external/docker-integration-tests</module>
          </modules>
        </profile>
    
    
        <!-- A series of build profiles where customizations for particular Hadoop releases can be made -->
    
    
        <!-- Hadoop-a.b.c dependencies can be found at
        http://hadoop.apache.org/docs/ra.b.c/hadoop-project-dist/hadoop-common/dependency-analysis.html
        -->
    
    
          <!-- Default hadoop profile. Uses global properties. -->
    
        <profile>
          <id>hadoop-2.7</id>
          <properties>
    
            <hadoop.version>2.7.3</hadoop.version>
    
            <curator.version>2.7.1</curator.version>
    
            <module>resource-managers/yarn</module>
    
            <module>common/network-yarn</module>
    
        <profile>
          <id>mesos</id>
          <modules>
    
            <module>resource-managers/mesos</module>
    
          <id>hive-thriftserver</id>
    
          <modules>
            <module>sql/hive-thriftserver</module>
          </modules>
    
        <profile>
          <id>hadoop-cloud</id>
          <modules>
            <module>hadoop-cloud</module>
          </modules>
        </profile>
    
    
        <profile>
          <id>test-java-home</id>
          <activation>
            <property><name>env.JAVA_HOME</name></property>
          </activation>
          <properties>
            <test.java.home>${env.JAVA_HOME}</test.java.home>
          </properties>
        </profile>
    
    
        <!-- Exists for backwards compatibility; profile doesn't do anything -->
    
        <profile>
          <id>scala-2.11</id>
    
        </profile>
    
        <profile>
          <id>scala-2.12</id>
    
            <scala.binary.version>2.12</scala.binary.version>
    
          </properties>
    
          <build>
            <plugins>
              <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-enforcer-plugin</artifactId>
                <executions>
                  <execution>
                    <id>enforce-versions</id>
                    <goals>
                      <goal>enforce</goal>
                    </goals>
                    <configuration>
                      <rules>
                        <bannedDependencies>
                          <excludes combine.children="append">
    
                            <exclude>*:*_2.11</exclude>
    
                          </excludes>
                        </bannedDependencies>
                      </rules>
                    </configuration>
                  </execution>
                </executions>
              </plugin>
            </plugins>
          </build>
    
        <!--
         This is a profile to enable the use of the ASF snapshot and staging repositories
    
         during a build. It is useful when testing against nightly or RC releases of dependencies.
    
         It MUST NOT be used when building copies of Spark to use in production of for distribution,
         -->
        <profile>
          <id>snapshots-and-staging</id>
          <properties>
            <!-- override point for ASF staging/snapshot repos -->
            <asf.staging>https://repository.apache.org/content/groups/staging/</asf.staging>
            <asf.snapshots>https://repository.apache.org/content/repositories/snapshots/</asf.snapshots>
          </properties>
    
          <pluginRepositories>
            <pluginRepository>
              <id>ASF Staging</id>
              <url>${asf.staging}</url>
            </pluginRepository>
            <pluginRepository>
              <id>ASF Snapshots</id>
              <url>${asf.snapshots}</url>
              <snapshots>
                <enabled>true</enabled>
              </snapshots>
              <releases>
                <enabled>false</enabled>
              </releases>
            </pluginRepository>
    
          </pluginRepositories>
          <repositories>
            <repository>
              <id>ASF Staging</id>
              <url>${asf.staging}</url>
            </repository>
            <repository>
              <id>ASF Snapshots</id>
              <url>${asf.snapshots}</url>
              <snapshots>
                <enabled>true</enabled>
              </snapshots>
              <releases>
                <enabled>false</enabled>
              </releases>
            </repository>
          </repositories>
        </profile>
    
    
        <!--
          These empty profiles are available in some sub-modules. Declare them here so that
          maven does not complain when they're provided on the command line for a sub-module
          that does not have them.
        -->
    
        <profile>
          <id>flume-provided</id>
        </profile>
    
        <profile>
          <id>hadoop-provided</id>
        </profile>
        <profile>
          <id>hive-provided</id>
        </profile>
    
        <profile>
          <id>orc-provided</id>
        </profile>
    
        <profile>
          <id>parquet-provided</id>
        </profile>
    
        <profile>
          <id>sparkr</id>
        </profile>
    
      </profiles>
    </project>