assembly.xml 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <!--
  2. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  3. ~ contributor license agreements. See the NOTICE file distributed with
  4. ~ this work for additional information regarding copyright ownership.
  5. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  6. ~ (the "License"); you may not use this file except in compliance with
  7. ~ the License. You may obtain a copy of the License at
  8. ~
  9. ~ http://www.apache.org/licenses/LICENSE-2.0
  10. ~
  11. ~ Unless required by applicable law or agreed to in writing, software
  12. ~ distributed under the License is distributed on an "AS IS" BASIS,
  13. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. ~ See the License for the specific language governing permissions and
  15. ~ limitations under the License.
  16. -->
  17. <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
  18. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  19. xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">
  20. <id>livy-server</id>
  21. <formats>
  22. <format>${assembly.format}</format>
  23. </formats>
  24. <includeBaseDirectory>false</includeBaseDirectory>
  25. <fileSets>
  26. <fileSet>
  27. <directory>${project.parent.basedir}/bin</directory>
  28. <outputDirectory>${assembly.name}/bin</outputDirectory>
  29. <includes>
  30. <include>*</include>
  31. </includes>
  32. <fileMode>0755</fileMode>
  33. </fileSet>
  34. <fileSet>
  35. <directory>${project.parent.basedir}</directory>
  36. <outputDirectory>${assembly.name}</outputDirectory>
  37. <includes>
  38. <include>LICENSE</include>
  39. <include>NOTICE</include>
  40. <include>DISCLAIMER</include>
  41. <include>THIRD-PARTY</include>
  42. </includes>
  43. </fileSet>
  44. <fileSet>
  45. <directory>${project.parent.basedir}/conf</directory>
  46. <outputDirectory>${assembly.name}/conf</outputDirectory>
  47. <includes>
  48. <include>*</include>
  49. </includes>
  50. </fileSet>
  51. <fileSet>
  52. <directory>${project.parent.basedir}/rsc/target/jars</directory>
  53. <outputDirectory>${assembly.name}/rsc-jars</outputDirectory>
  54. <includes>
  55. <include>*</include>
  56. </includes>
  57. </fileSet>
  58. <fileSet>
  59. <directory>${project.parent.basedir}/repl/scala-2.11/target/jars</directory>
  60. <outputDirectory>${assembly.name}/repl_2.11-jars</outputDirectory>
  61. <includes>
  62. <include>*</include>
  63. </includes>
  64. </fileSet>
  65. <fileSet>
  66. <directory>${project.parent.basedir}/repl/scala-2.12/target/jars</directory>
  67. <outputDirectory>${assembly.name}/repl_2.12-jars</outputDirectory>
  68. <includes>
  69. <include>*</include>
  70. </includes>
  71. </fileSet>
  72. <fileSet>
  73. <directory>${project.parent.basedir}/server/target/jars</directory>
  74. <outputDirectory>${assembly.name}/jars</outputDirectory>
  75. <includes>
  76. <include>*</include>
  77. </includes>
  78. </fileSet>
  79. <fileSet>
  80. <directory>${project.parent.basedir}/thriftserver/server/target/jars</directory>
  81. <outputDirectory>${assembly.name}/jars</outputDirectory>
  82. <includes>
  83. <include>*</include>
  84. </includes>
  85. </fileSet>
  86. <fileSet>
  87. <directory>${project.parent.basedir}/thriftserver/session/target/jars</directory>
  88. <outputDirectory>${assembly.name}/rsc-jars</outputDirectory>
  89. <includes>
  90. <include>*</include>
  91. </includes>
  92. </fileSet>
  93. </fileSets>
  94. </assembly>