HBASE-23337 Release scripts should rely on maven for deploy. (#887)
[hbase.git] / hbase-hadoop-compat / pom.xml
blob48c82f6df0029ca81656fbb11040d84524b4447b
1 <?xml version="1.0"?>
2 <project xmlns="https://maven.apache.org/POM/4.0.0" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
3     <!--
4     /**
5      * Licensed to the Apache Software Foundation (ASF) under one
6      * or more contributor license agreements.  See the NOTICE file
7      * distributed with this work for additional information
8      * regarding copyright ownership.  The ASF licenses this file
9      * to you under the Apache License, Version 2.0 (the
10      * "License"); you may not use this file except in compliance
11      * with the License.  You may obtain a copy of the License at
12      *
13      *     http://www.apache.org/licenses/LICENSE-2.0
14      *
15      * Unless required by applicable law or agreed to in writing, software
16      * distributed under the License is distributed on an "AS IS" BASIS,
17      * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18      * See the License for the specific language governing permissions and
19      * limitations under the License.
20      */
21     -->
22     <modelVersion>4.0.0</modelVersion>
23     <parent>
24         <artifactId>hbase-build-configuration</artifactId>
25         <groupId>org.apache.hbase</groupId>
26         <version>3.0.0-SNAPSHOT</version>
27         <relativePath>../hbase-build-configuration</relativePath>
28     </parent>
30     <artifactId>hbase-hadoop-compat</artifactId>
31     <name>Apache HBase - Hadoop Compatibility</name>
32     <description>
33         Interfaces to be implemented in order to smooth
34         over hadoop version differences
35     </description>
36 <!--REMOVE-->
38     <build>
39       <plugins>
40       <plugin>
41         <!--Make it so assembly:single does nothing in here-->
42         <artifactId>maven-assembly-plugin</artifactId>
43         <configuration>
44           <skipAssembly>true</skipAssembly>
45         </configuration>
46       </plugin>
47         <!-- Make a jar and put the sources in the jar -->
48         <plugin>
49           <groupId>org.apache.maven.plugins</groupId>
50           <artifactId>maven-source-plugin</artifactId>
51         </plugin>
52         <plugin>
53           <groupId>org.apache.maven.plugins</groupId>
54           <artifactId>maven-checkstyle-plugin</artifactId>
55           <configuration>
56             <failOnViolation>true</failOnViolation>
57           </configuration>
58         </plugin>
59         <plugin>
60           <groupId>net.revelc.code</groupId>
61           <artifactId>warbucks-maven-plugin</artifactId>
62         </plugin>
63       </plugins>
64     </build>
66     <dependencies>
67       <dependency>
68         <groupId>org.apache.hbase</groupId>
69         <artifactId>hbase-annotations</artifactId>
70         <type>test-jar</type>
71         <scope>test</scope>
72       </dependency>
73       <dependency>
74         <groupId>org.apache.hbase</groupId>
75         <artifactId>hbase-common</artifactId>
76         <type>test-jar</type>
77         <scope>test</scope>
78       </dependency>
79       <dependency>
80         <groupId>org.apache.hbase.thirdparty</groupId>
81         <artifactId>hbase-shaded-miscellaneous</artifactId>
82       </dependency>
83       <!-- General dependencies -->
84       <dependency>
85         <groupId>org.slf4j</groupId>
86         <artifactId>slf4j-api</artifactId>
87       </dependency>
88       <dependency>
89         <groupId>org.apache.hbase</groupId>
90         <artifactId>hbase-metrics-api</artifactId>
91       </dependency>
92       <dependency>
93         <groupId>junit</groupId>
94         <artifactId>junit</artifactId>
95         <scope>test</scope>
96       </dependency>
97     </dependencies>
99     <profiles>
100         <!-- Skip the tests in this module -->
101         <profile>
102             <id>skipHadoopCompatTests</id>
103             <activation>
104                 <property>
105                     <name>skipHadoopCompatTests</name>
106                 </property>
107             </activation>
108             <properties>
109                 <surefire.skipFirstPart>true</surefire.skipFirstPart>
110                 <surefire.skipSecondPart>true</surefire.skipSecondPart>
111             </properties>
112         </profile>
113       <profile>
114         <id>eclipse-specific</id>
115         <activation>
116           <property>
117             <name>m2e.version</name>
118           </property>
119         </activation>
120         <build>
121           <pluginManagement>
122             <plugins>
123               <!--This plugin's configuration is used to store Eclipse m2e settings
124                    only. It has no influence on the Maven build itself.-->
125               <plugin>
126                 <groupId>org.eclipse.m2e</groupId>
127                 <artifactId>lifecycle-mapping</artifactId>
128                 <configuration>
129                   <lifecycleMappingMetadata>
130                     <pluginExecutions>
131                     </pluginExecutions>
132                   </lifecycleMappingMetadata>
133                 </configuration>
134               </plugin>
135             </plugins>
136           </pluginManagement>
137         </build>
138       </profile>
139     </profiles>
141 </project>