Revert "Preparing development version 2.4.2-SNAPSHOT"
[hbase.git] / hbase-shaded / hbase-shaded-client-byo-hadoop / pom.xml
bloba3c64cb5a5ba65f937d909884adfc75ae540796b
1 <project xmlns="https://maven.apache.org/POM/4.0.0"
2          xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance"
3          xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4     <!--
5       /**
6        * Licensed to the Apache Software Foundation (ASF) under one
7        * or more contributor license agreements.  See the NOTICE file
8        * distributed with this work for additional information
9        * regarding copyright ownership.  The ASF licenses this file
10        * to you under the Apache License, Version 2.0 (the
11        * "License"); you may not use this file except in compliance
12        * with the License.  You may obtain a copy of the License at
13        *
14        *     http://www.apache.org/licenses/LICENSE-2.0
15        *
16        * Unless required by applicable law or agreed to in writing, software
17        * distributed under the License is distributed on an "AS IS" BASIS,
18        * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19        * See the License for the specific language governing permissions and
20        * limitations under the License.
21        */
22       -->
23     <modelVersion>4.0.0</modelVersion>
24     <parent>
25         <artifactId>hbase-shaded</artifactId>
26         <groupId>org.apache.hbase</groupId>
27         <version>2.4.1</version>
28         <relativePath>..</relativePath>
29     </parent>
30     <artifactId>hbase-shaded-client-byo-hadoop</artifactId>
31     <name>Apache HBase - Shaded - Client</name>
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.apache.maven.plugins</groupId>
36                 <artifactId>maven-site-plugin</artifactId>
37                 <configuration>
38                     <skip>true</skip>
39                 </configuration>
40             </plugin>
41             <plugin>
42                 <!--Make it so assembly:single does nothing in here-->
43                 <artifactId>maven-assembly-plugin</artifactId>
44                 <configuration>
45                     <skipAssembly>true</skipAssembly>
46                 </configuration>
47             </plugin>
48             <plugin>
49                 <groupId>org.apache.maven.plugins</groupId>
50                 <artifactId>maven-shade-plugin</artifactId>
51             </plugin>
52         </plugins>
53     </build>
54     <dependencies>
55         <dependency>
56             <groupId>org.apache.hbase</groupId>
57             <artifactId>hbase-client</artifactId>
58         </dependency>
59     </dependencies>
61     <profiles>
62       <!-- These hadoop profiles should be derived from those in the hbase-client
63            module. Essentially, you must list the same hadoop-* dependencies
64            so provided dependencies will not be transitively included.
65       -->
66       <profile>
67         <id>hadoop-2.0</id>
68         <activation>
69           <property>
70               <!--Below formatting for dev-support/generate-hadoopX-poms.sh-->
71               <!--h2--><name>!hadoop.profile</name>
72           </property>
73         </activation>
74         <dependencies>
75           <dependency>
76             <groupId>org.apache.hadoop</groupId>
77             <artifactId>hadoop-auth</artifactId>
78             <scope>provided</scope>
79           </dependency>
80           <dependency>
81             <groupId>org.apache.hadoop</groupId>
82             <artifactId>hadoop-common</artifactId>
83             <scope>provided</scope>
84           </dependency>
85           <dependency>
86             <groupId>org.codehaus.jackson</groupId>
87             <artifactId>jackson-jaxrs</artifactId>
88             <version>1.9.13</version>
89             <scope>provided</scope>
90             <exclusions>
91               <exclusion>
92                 <groupId>org.codehaus.jackson</groupId>
93                 <artifactId>jackson-mapper-asl</artifactId>
94               </exclusion>
95               <exclusion>
96                 <groupId>org.codehaus.jackson</groupId>
97                 <artifactId>jackson-core-asl</artifactId>
98               </exclusion>
99             </exclusions>
100           </dependency>
101           <dependency>
102             <groupId>org.codehaus.jackson</groupId>
103             <artifactId>jackson-xc</artifactId>
104             <version>1.9.13</version>
105             <scope>provided</scope>
106             <exclusions>
107               <exclusion>
108                 <groupId>org.codehaus.jackson</groupId>
109                 <artifactId>jackson-mapper-asl</artifactId>
110               </exclusion>
111               <exclusion>
112                 <groupId>org.codehaus.jackson</groupId>
113                 <artifactId>jackson-core-asl</artifactId>
114               </exclusion>
115             </exclusions>
116           </dependency>
117         </dependencies>
118       </profile>
120       <!--
121         profile for building against Hadoop 3.0.x. Activate using:
122          mvn -Dhadoop.profile=3.0
123       -->
124       <profile>
125         <id>hadoop-3.0</id>
126         <activation>
127           <property>
128             <name>hadoop.profile</name>
129             <value>3.0</value>
130           </property>
131         </activation>
132         <dependencies>
133           <dependency>
134             <groupId>org.apache.hadoop</groupId>
135             <artifactId>hadoop-auth</artifactId>
136             <scope>provided</scope>
137           </dependency>
138           <dependency>
139             <groupId>org.apache.hadoop</groupId>
140             <artifactId>hadoop-common</artifactId>
141             <scope>provided</scope>
142           </dependency>
143           <dependency>
144             <groupId>org.codehaus.jackson</groupId>
145             <artifactId>jackson-jaxrs</artifactId>
146             <version>1.9.13</version>
147             <scope>provided</scope>
148             <exclusions>
149               <exclusion>
150                 <groupId>org.codehaus.jackson</groupId>
151                 <artifactId>jackson-mapper-asl</artifactId>
152               </exclusion>
153               <exclusion>
154                 <groupId>org.codehaus.jackson</groupId>
155                 <artifactId>jackson-core-asl</artifactId>
156               </exclusion>
157             </exclusions>
158           </dependency>
159           <dependency>
160             <groupId>org.codehaus.jackson</groupId>
161             <artifactId>jackson-xc</artifactId>
162             <version>1.9.13</version>
163             <scope>provided</scope>
164             <exclusions>
165               <exclusion>
166                 <groupId>org.codehaus.jackson</groupId>
167                 <artifactId>jackson-mapper-asl</artifactId>
168               </exclusion>
169               <exclusion>
170                 <groupId>org.codehaus.jackson</groupId>
171                 <artifactId>jackson-core-asl</artifactId>
172               </exclusion>
173             </exclusions>
174           </dependency>
175         </dependencies>
176       </profile>
177     </profiles>
178 </project>