HBASE-20073 remove 1.1 references from website landing pages
[hbase.git] / hbase-assembly / pom.xml
blob75cba4dc79425f3001186309e187e29a10158143
1 <?xml version="1.0"?>
2 <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">
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>
29   <artifactId>hbase-assembly</artifactId>
30   <name>Apache HBase - Assembly</name>
31   <description>
32         Module that does project assembly and that is all that it does.
33     </description>
34   <packaging>pom</packaging>
35   <properties>
36     <license.bundles.dependencies>true</license.bundles.dependencies>
37   </properties>
38   <build>
39     <plugins>
40       <plugin>
41         <groupId>org.apache.maven.plugins</groupId>
42         <artifactId>maven-enforcer-plugin</artifactId>
43         <executions>
44           <!-- hbase-spark is ok in the assembly -->
45           <execution>
46             <id>banned-hbase-spark</id>
47             <goals>
48               <goal>enforce</goal>
49             </goals>
50             <configuration>
51               <skip>true</skip>
52             </configuration>
53           </execution>
54         </executions>
55       </plugin>
56       <!-- licensing info from our dependencies -->
57       <plugin>
58         <groupId>org.apache.maven.plugins</groupId>
59         <artifactId>maven-remote-resources-plugin</artifactId>
60         <executions>
61           <execution>
62             <id>aggregate-licenses</id>
63             <goals>
64               <goal>process</goal>
65             </goals>
66             <configuration>
67               <properties>
68                 <copyright-end-year>${build.year}</copyright-end-year>
69                 <debug-print-included-work-info>${license.debug.print.included}</debug-print-included-work-info>
70                 <bundled-dependencies>${license.bundles.dependencies}</bundled-dependencies>
71                 <bundled-jquery>${license.bundles.jquery}</bundled-jquery>
72                 <bundled-logo>${license.bundles.logo}</bundled-logo>
73                 <bundled-bootstrap>${license.bundles.bootstrap}</bundled-bootstrap>
74               </properties>
75               <resourceBundles>
76                 <resourceBundle>${project.groupId}:hbase-resource-bundle:${project.version}</resourceBundle>
77               </resourceBundles>
78               <supplementalModelArtifacts>
79                 <supplementalModelArtifact>${project.groupId}:hbase-resource-bundle:${project.version}</supplementalModelArtifact>
80               </supplementalModelArtifacts>
81               <supplementalModels>
82                 <supplementalModel>supplemental-models.xml</supplementalModel>
83               </supplementalModels>
84             </configuration>
85           </execution>
86         </executions>
87       </plugin>
88       <plugin>
89         <artifactId>maven-assembly-plugin</artifactId>
90         <configuration>
91           <!--Else will use hbase-assembly as final name.-->
92           <finalName>hbase-${project.version}</finalName>
93           <skipAssembly>false</skipAssembly>
94           <appendAssemblyId>true</appendAssemblyId>
95           <tarLongFileMode>gnu</tarLongFileMode>
96           <descriptors>
97             <descriptor>${assembly.file}</descriptor>
98           </descriptors>
99         </configuration>
100       </plugin>
101         <plugin>
102           <groupId>org.apache.maven.plugins</groupId>
103           <artifactId>maven-site-plugin</artifactId>
104           <configuration>
105             <skip>true</skip>
106           </configuration>
107         </plugin>
108       <plugin>
109         <artifactId>maven-dependency-plugin</artifactId>
110         <executions>
111           <execution>
112                 <!-- generates the file that will be used by the bin/hbase script in the dev env -->
113             <id>create-hbase-generated-classpath</id>
114             <phase>test</phase>
115             <goals>
116               <goal>build-classpath</goal>
117             </goals>
118             <configuration>
119               <outputFile>${project.parent.basedir}/target/cached_classpath.txt</outputFile>
120               <excludeArtifactIds>jruby-complete</excludeArtifactIds>
121             </configuration>
122           </execution>
124           <execution>
125             <!-- Generates a file containing jruby jar.
126                  In dev environment, bin/hbase will read the file and add the jar into classpath when jruby is needed
127             -->
128             <id>create-hbase-generated-classpath-jruby</id>
129             <phase>test</phase>
130             <goals>
131               <goal>build-classpath</goal>
132             </goals>
133             <configuration>
134               <outputFile>${project.parent.basedir}/target/cached_classpath_jruby.txt</outputFile>
135               <includeArtifactIds>jruby-complete</includeArtifactIds>
136             </configuration>
137           </execution>
139         <!--
140            Build an aggregation of our templated NOTICE file and the NOTICE files in our dependencies.
141            If MASSEMBLY-382 is fixed we could do this in the assembly
142            Currently relies on env, bash, find, and cat.
143         -->
144           <execution>
145             <!-- put all of the NOTICE files out of our dependencies -->
146             <id>unpack-dependency-notices</id>
147             <phase>prepare-package</phase>
148             <goals>
149               <goal>unpack-dependencies</goal>
150             </goals>
151             <configuration>
152               <useSubDirectoryPerArtifact>true</useSubDirectoryPerArtifact>
153               <includes>**\/NOTICE,**\/NOTICE.txt</includes>
154             </configuration>
155           </execution>
156         </executions>
157       </plugin>
158       <plugin>
159         <groupId>org.codehaus.mojo</groupId>
160         <artifactId>exec-maven-plugin</artifactId>
161         <version>${exec.maven.version}</version>
162         <executions>
163           <execution>
164             <id>concat-NOTICE-files</id>
165             <phase>package</phase>
166             <goals>
167               <goal>exec</goal>
168             </goals>
169             <configuration>
170               <executable>env</executable>
171               <arguments>
172                 <argument>bash</argument>
173                 <argument>-c</argument>
174                 <argument>cat maven-shared-archive-resources/META-INF/NOTICE \
175                   `find ${project.build.directory}/dependency -iname NOTICE -or -iname NOTICE.txt`
176                 </argument>
177               </arguments>
178               <outputFile>${project.build.directory}/NOTICE.aggregate</outputFile>
179               <workingDirectory>${project.build.directory}</workingDirectory>
180             </configuration>
181           </execution>
182         </executions>
183       </plugin>
184       <!-- /end building aggregation of NOTICE files -->
185     </plugins>
186   </build>
187   <dependencies>
188         <!-- Intra-project dependencies -->
189     <dependency>
190       <groupId>org.apache.hbase</groupId>
191       <artifactId>hbase-it</artifactId>
192       <type>test-jar</type>
193     </dependency>
194     <dependency>
195       <groupId>org.apache.hbase</groupId>
196       <artifactId>hbase-server</artifactId>
197     </dependency>
198     <dependency>
199       <groupId>org.apache.hbase</groupId>
200       <artifactId>hbase-mapreduce</artifactId>
201     </dependency>
202     <dependency>
203       <groupId>org.apache.hbase</groupId>
204       <artifactId>hbase-mapreduce</artifactId>
205       <type>test-jar</type>
206     </dependency>
207     <!-- To dump tools in hbase-procedure into cached_classpath.txt. -->
208     <dependency>
209       <groupId>org.apache.hbase</groupId>
210       <artifactId>hbase-procedure</artifactId>
211     </dependency>
212     <dependency>
213       <groupId>org.apache.hbase</groupId>
214       <artifactId>hbase-procedure</artifactId>
215       <type>test-jar</type>
216       <scope>test</scope>
217     </dependency>
218     <dependency>
219         <groupId>org.apache.hbase</groupId>
220         <artifactId>hbase-hadoop-compat</artifactId>
221         <exclusions>
222           <exclusion>
223             <groupId>com.google.guava</groupId>
224             <artifactId>guava</artifactId>
225           </exclusion>
226         </exclusions>
227     </dependency>
228     <dependency>
229         <groupId>org.apache.hbase</groupId>
230         <artifactId>${compat.module}</artifactId>
231     </dependency>
232     <dependency>
233        <groupId>org.apache.hbase</groupId>
234        <artifactId>hbase-shell</artifactId>
235     </dependency>
236     <dependency>
237       <groupId>org.apache.hbase</groupId>
238       <artifactId>hbase-thrift</artifactId>
239     </dependency>
240     <dependency>
241       <groupId>org.apache.hbase</groupId>
242       <artifactId>hbase-rest</artifactId>
243     </dependency>
244     <dependency>
245       <groupId>org.apache.hbase</groupId>
246       <artifactId>hbase-external-blockcache</artifactId>
247     </dependency>
248     <dependency>
249        <groupId>org.apache.hbase</groupId>
250        <artifactId>hbase-testing-util</artifactId>
251     </dependency>
252     <dependency>
253        <groupId>org.apache.hbase</groupId>
254        <artifactId>hbase-metrics-api</artifactId>
255     </dependency>
256     <dependency>
257        <groupId>org.apache.hbase</groupId>
258        <artifactId>hbase-metrics</artifactId>
259     </dependency>
260     <dependency>
261       <groupId>org.apache.hbase</groupId>
262       <artifactId>hbase-protocol</artifactId>
263     </dependency>
264     <dependency>
265       <groupId>org.apache.hbase</groupId>
266       <artifactId>hbase-protocol-shaded</artifactId>
267     </dependency>
268     <dependency>
269        <groupId>org.apache.hbase</groupId>
270        <artifactId>hbase-resource-bundle</artifactId>
271        <optional>true</optional>
272     </dependency>
273     <dependency>
274       <groupId>org.apache.hbase</groupId>
275       <artifactId>hbase-spark</artifactId>
276     </dependency>
277     <dependency>
278       <groupId>org.apache.httpcomponents</groupId>
279       <artifactId>httpclient</artifactId>
280     </dependency>
281     <dependency>
282       <groupId>org.apache.httpcomponents</groupId>
283       <artifactId>httpcore</artifactId>
284     </dependency>
285     <dependency>
286       <groupId>org.apache.hbase</groupId>
287       <artifactId>hbase-spark-it</artifactId>
288       <type>test-jar</type>
289     </dependency>
290     <dependency>
291       <groupId>org.apache.hbase</groupId>
292       <artifactId>hbase-backup</artifactId>
293     </dependency>
294     <dependency>
295       <groupId>org.apache.hbase</groupId>
296       <artifactId>hbase-replication</artifactId>
297     </dependency>
298     <dependency>
299       <groupId>org.apache.hbase</groupId>
300       <artifactId>hbase-http</artifactId>
301     </dependency>
302     <dependency>
303       <groupId>org.apache.hbase</groupId>
304       <artifactId>hbase-examples</artifactId>
305     </dependency>
306     <dependency>
307       <groupId>org.apache.hbase</groupId>
308       <artifactId>hbase-zookeeper</artifactId>
309     </dependency>
310   </dependencies>
311   <profiles>
312     <profile>
313       <id>rsgroup</id>
314       <activation>
315         <property>
316             <name>!skip-rsgroup</name>
317         </property>
318       </activation>
319       <dependencies>
320         <dependency>
321           <groupId>org.apache.hbase</groupId>
322           <artifactId>hbase-rsgroup</artifactId>
323           <version>${project.version}</version>
324         </dependency>
325       </dependencies>
326     </profile>
327   </profiles>
328 </project>