|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<!-- |
| 3 | + Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | + you may not use this file except in compliance with the License. |
| 5 | + You may obtain a copy of the License at |
| 6 | +
|
| 7 | + http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +
|
| 9 | + Unless required by applicable law or agreed to in writing, software |
| 10 | + distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | + See the License for the specific language governing permissions and |
| 13 | + limitations under the License. See accompanying LICENSE file. |
| 14 | +--> |
| 15 | + |
| 16 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 17 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 18 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 19 | + <modelVersion>4.0.0</modelVersion> |
| 20 | + <parent> |
| 21 | + <groupId>org.apache.hadoop</groupId> |
| 22 | + <artifactId>hadoop-project</artifactId> |
| 23 | + <version>3.3.0-SNAPSHOT</version> |
| 24 | + <relativePath>../../hadoop-project</relativePath> |
| 25 | + </parent> |
| 26 | + <artifactId>hadoop-cos</artifactId> |
| 27 | + <name>Apache Hadoop Tencent COS Support</name> |
| 28 | + <description> |
| 29 | + This module contains code to support integration with Tencent COS. |
| 30 | + It also declares the dependencies needed to work with COS. |
| 31 | + </description> |
| 32 | + <packaging>jar</packaging> |
| 33 | + |
| 34 | + <properties> |
| 35 | + <file.encoding>UTF-8</file.encoding> |
| 36 | + <downloadSources>true</downloadSources> |
| 37 | + </properties> |
| 38 | + |
| 39 | + <profiles> |
| 40 | + <profile> |
| 41 | + <id>tests-off</id> |
| 42 | + <activation> |
| 43 | + <file> |
| 44 | + <missing>src/test/resources/auth-keys.xml</missing> |
| 45 | + </file> |
| 46 | + </activation> |
| 47 | + <properties> |
| 48 | + <maven.test.skip>true</maven.test.skip> |
| 49 | + </properties> |
| 50 | + </profile> |
| 51 | + <profile> |
| 52 | + <id>tests-on</id> |
| 53 | + <activation> |
| 54 | + <file> |
| 55 | + <exists>src/test/resources/auth-keys.xml</exists> |
| 56 | + </file> |
| 57 | + </activation> |
| 58 | + <properties> |
| 59 | + <maven.test.skip>false</maven.test.skip> |
| 60 | + </properties> |
| 61 | + </profile> |
| 62 | + </profiles> |
| 63 | + |
| 64 | + <build> |
| 65 | + <plugins> |
| 66 | + <plugin> |
| 67 | + <groupId>org.codehaus.mojo</groupId> |
| 68 | + <artifactId>findbugs-maven-plugin</artifactId> |
| 69 | + <configuration> |
| 70 | + <findbugsXmlOutput>true</findbugsXmlOutput> |
| 71 | + <xmlOutput>true</xmlOutput> |
| 72 | + <excludeFilterFile>${basedir}/dev-support/findbugs-exclude.xml |
| 73 | + </excludeFilterFile> |
| 74 | + <effort>Max</effort> |
| 75 | + </configuration> |
| 76 | + </plugin> |
| 77 | + <plugin> |
| 78 | + <groupId>org.apache.maven.plugins</groupId> |
| 79 | + <artifactId>maven-surefire-plugin</artifactId> |
| 80 | + <configuration> |
| 81 | + <forkedProcessTimeoutInSeconds>3600</forkedProcessTimeoutInSeconds> |
| 82 | + </configuration> |
| 83 | + </plugin> |
| 84 | + </plugins> |
| 85 | + </build> |
| 86 | + |
| 87 | + <dependencies> |
| 88 | + <dependency> |
| 89 | + <groupId>junit</groupId> |
| 90 | + <artifactId>junit</artifactId> |
| 91 | + <scope>test</scope> |
| 92 | + </dependency> |
| 93 | + |
| 94 | + <dependency> |
| 95 | + <groupId>com.qcloud</groupId> |
| 96 | + <artifactId>cos_api</artifactId> |
| 97 | + <version>5.4.9</version> |
| 98 | + <scope>compile</scope> |
| 99 | + </dependency> |
| 100 | + |
| 101 | + <dependency> |
| 102 | + <groupId>org.apache.hadoop</groupId> |
| 103 | + <artifactId>hadoop-common</artifactId> |
| 104 | + <scope>provided</scope> |
| 105 | + </dependency> |
| 106 | + |
| 107 | + <dependency> |
| 108 | + <groupId>org.apache.hadoop</groupId> |
| 109 | + <artifactId>hadoop-common</artifactId> |
| 110 | + <scope>test</scope> |
| 111 | + <type>test-jar</type> |
| 112 | + </dependency> |
| 113 | + |
| 114 | + <dependency> |
| 115 | + <groupId>org.apache.hadoop</groupId> |
| 116 | + <artifactId>hadoop-yarn-server-tests</artifactId> |
| 117 | + <scope>test</scope> |
| 118 | + <type>test-jar</type> |
| 119 | + </dependency> |
| 120 | + |
| 121 | + <dependency> |
| 122 | + <groupId>org.apache.hadoop</groupId> |
| 123 | + <artifactId>hadoop-mapreduce-client-hs</artifactId> |
| 124 | + <scope>test</scope> |
| 125 | + </dependency> |
| 126 | + |
| 127 | + <dependency> |
| 128 | + <groupId>org.apache.hadoop</groupId> |
| 129 | + <artifactId>hadoop-distcp</artifactId> |
| 130 | + <scope>test</scope> |
| 131 | + </dependency> |
| 132 | + <dependency> |
| 133 | + <groupId>org.apache.hadoop</groupId> |
| 134 | + <artifactId>hadoop-distcp</artifactId> |
| 135 | + <scope>test</scope> |
| 136 | + <type>test-jar</type> |
| 137 | + </dependency> |
| 138 | + |
| 139 | + </dependencies> |
| 140 | +</project> |
0 commit comments