/
githubmirror
/
alluxio
Обзор
Документация
Войти
/
githubmirror
/
alluxio
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/pom.xml
419 строк
13 KB
Rico Chiu
Update version to 2.10.0-SNAPSHOT
02 июл 2024, 23:56
02 июл 2024, 23:56
e55bf07
Код
Авторство
О чём код?
<!-- The Alluxio Open Foundation licenses this work under the Apache License, version 2.0 (the "License"). You may not use this work except in compliance with the License, which is available at www.apache.org/licenses/LICENSE-2.0 This software is distributed on an "AS IS" basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, as more fully set forth in the License. See the NOTICE file distributed with this work for information regarding copyright ownership. --> <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.alluxio</groupId> <artifactId>alluxio-parent</artifactId> <version>2.10.0-SNAPSHOT</version> </parent> <artifactId>alluxio-tests</artifactId> <packaging>jar</packaging> <name>Alluxio Tests</name> <description>Integration tests for Alluxio</description> <properties> <!-- The following paths need to be defined here as well as in the parent pom so that mvn can --> <!-- run properly from sub-project directories --> <build.path>${project.parent.basedir}/build/</build.path> <surefire.useSystemClassLoader>false</surefire.useSystemClassLoader> </properties> <dependencies> <!-- External dependencies --> <dependency> <groupId>com.beust</groupId> <artifactId>jcommander</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core</artifactId> </dependency> <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>org.hamcrest</groupId> <artifactId>hamcrest</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>jakarta.ws.rs</groupId> <artifactId>jakarta.ws.rs-api</artifactId> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>compile</scope> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-minicluster</artifactId> </dependency> <dependency> <groupId>org.reflections</groupId> <artifactId>reflections</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> </dependency> <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers</artifactId> <version>1.14.3</version> <scope>test</scope> </dependency> <dependency> <groupId>org.apache.parquet</groupId> <artifactId>parquet-avro</artifactId> </dependency> <dependency> <groupId>com.google.inject</groupId> <artifactId>guice</artifactId> <version>5.0.1</version> <!-- S3 proxy invokes a guice method by reflection that is only available since 5.0 --> <scope>test</scope> </dependency> <!-- Internal dependencies --> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-client-fs</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-client-fs</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-client-hdfs</artifactId> <version>${project.version}</version> <exclusions> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-client-hdfs</artifactId> <version>${project.version}</version> <type>test-jar</type> <exclusions> <exclusion> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-client</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-common</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-common</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-transport</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-server-common</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-server-master</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-server-master</artifactId> <version>${project.version}</version> <type>test-jar</type> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-job-client</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-job-common</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-job-server</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-server-proxy</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-core-server-worker</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-minicluster</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-shell</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-stress-shell</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-underfs-local</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-integration-fuse</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.alluxio</groupId> <artifactId>alluxio-underfs-s3a</artifactId> <version>${project.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.gaul</groupId> <artifactId>s3proxy</artifactId> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> </exclusions> <scope>test</scope> </dependency> </dependencies> <profiles> <!-- Profile to build tests module connecting to hdfs 2 --> <!-- Mark hadoop-{common, hdfs} as provided because alluxio-underfs-hdfs will come with a shaded version. --> <profile> <id>hadoop-2</id> <dependencies> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>${hadoop.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> <version>${hadoop.version}</version> <scope>provided</scope> </dependency> </dependencies> </profile> <!-- Profile to build tests module connecting to hdfs 3 --> <!-- Mark hadoop-{common, hdfs-client} as provided because alluxio-underfs-hdfs will come with a shaded version. --> <profile> <id>hadoop-3</id> <activation> <activeByDefault>true</activeByDefault> </activation> <dependencies> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-common</artifactId> <version>${hadoop.version}</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> <artifactId>hadoop-hdfs</artifactId> <version>${hadoop.version}</version> <scope>provided</scope> </dependency> </dependencies> </profile> <profile> <id>contractTest</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <testExcludes combine.self="override" /> </configuration> </plugin> </plugins> </build> </profile> <profile> <id>jacoco</id> <build> <plugins> <plugin> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <version>${jacoco.version}</version> <!-- integration tests shouldn't use PowerMock, so recommended prepare-agent goal can be used, instead of offline-instrumentation --> <executions> <execution> <id>jacoco-unit-instrument-classes</id> <configuration> <skip>true</skip> </configuration> </execution> <execution> <id>jacoco-unit-restore-instrumented-classes</id> <configuration> <skip>true</skip> </configuration> </execution> <execution> <id>jacoco-prepare-agent</id> <goals> <goal>prepare-agent</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> </profiles> <build> <plugins> <!-- Inject hadoop.version for tests to fetch at runtime --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <systemProperties> <property> <name>alluxio.hadoop.version</name> <value>${hadoop.version}</value> </property> </systemProperties> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <testExcludes> <!--By default we skip tests in hadoop/contract, unless contractTest profile is used--> <exclude>**/hadoop/contract/**</exclude> </testExcludes> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-shade-plugin</artifactId> <executions> <execution> <id>uber-jar</id> <phase>package</phase> <goals> <goal>shade</goal> </goals> <configuration> <finalName>${project.artifactId}-${project.version}-jar-with-dependencies</finalName> <filters> <filter> <artifact>*:* </artifact> <excludes> <exclude>LICENSE</exclude> <exclude>META-INF/*.SF</exclude> <exclude>META-INF/*.DSA</exclude> <exclude>META-INF/*.RSA</exclude> </excludes> </filter> </filters> <transformers> <transformer implementation="org.apache.maven.plugins.shade.resource.ApacheLicenseResourceTransformer"></transformer> </transformers> </configuration> </execution> </executions> </plugin> <plugin> <groupId>com.igormaznitsa</groupId> <artifactId>jcp</artifactId> <executions> <execution> <id>preprocessSources</id> <phase>generate-test-sources</phase> <goals> <goal>preprocessTests</goal> </goals> </execution> <execution> <id>clearGeneratedFolders</id> <goals> <goal>clear</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>