phoenix-client.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version='1.0'?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one
  4. ~ or more contributor license agreements. See the NOTICE file
  5. ~ distributed with this work for additional information
  6. ~ regarding copyright ownership. The ASF licenses this file
  7. ~ to you under the Apache License, Version 2.0 (the
  8. ~ "License"); you may not use this file except in compliance
  9. ~ with the License. You may obtain a copy of the License at
  10. ~
  11. ~ http://www.apache.org/licenses/LICENSE-2.0
  12. ~
  13. ~ Unless required by applicable law or agreed to in writing, software
  14. ~ distributed under the License is distributed on an "AS IS" BASIS,
  15. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  16. ~ See the License for the specific language governing permissions and
  17. ~ limitations under the License.
  18. -->
  19. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
  20. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  21. xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
  22. <id>client</id>
  23. <!-- All the dependencies (unpacked) necessary to run phoenix from a single, stand-alone jar -->
  24. <formats>
  25. <format>jar</format>
  26. </formats>
  27. <includeBaseDirectory>false</includeBaseDirectory>
  28. <componentDescriptors>
  29. <componentDescriptor>src/main/assemblies/phoenix-components-minimal.xml</componentDescriptor>
  30. <componentDescriptor>src/main/assemblies/phoenix-components-major-client.xml</componentDescriptor>
  31. </componentDescriptors>
  32. <dependencySets>
  33. <dependencySet>
  34. <!-- Unpack all the dependencies to class files, since java doesn't support
  35. jar of jars for running -->
  36. <unpack>true</unpack>
  37. <!-- save these dependencies to the top-level -->
  38. <outputDirectory>/</outputDirectory>
  39. <includes>
  40. <include>jline:jline</include>
  41. <include>sqlline:sqlline</include>
  42. <include>org.apache.hbase:hbase*</include>
  43. <include>org.cloudera.htrace:htrace-core</include>
  44. <include>io.netty:netty</include>
  45. <include>commons-codec:commons-codec</include>
  46. </includes>
  47. </dependencySet>
  48. <!-- Make sure we get all the components, not just the minimal client ones (e.g.
  49. phoenix-flume, phoenix-pig, etc) -->
  50. <dependencySet>
  51. <outputDirectory>/</outputDirectory>
  52. <unpack>true</unpack>
  53. <includes>
  54. <include>org.apache.phoenix:phoenix-*</include>
  55. </includes>
  56. </dependencySet>
  57. </dependencySets>
  58. </assembly>