assembly.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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>zip</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. </fileSet>
  33. <fileSet>
  34. <directory>${project.parent.basedir}</directory>
  35. <outputDirectory>${assembly.name}</outputDirectory>
  36. <includes>
  37. <include>LICENSE</include>
  38. <include>NOTICE</include>
  39. <include>DISCLAIMER</include>
  40. <include>THIRD-PARTY</include>
  41. </includes>
  42. </fileSet>
  43. <fileSet>
  44. <directory>${project.parent.basedir}/conf</directory>
  45. <outputDirectory>${assembly.name}/conf</outputDirectory>
  46. <includes>
  47. <include>*</include>
  48. </includes>
  49. </fileSet>
  50. <fileSet>
  51. <directory>${project.parent.basedir}/rsc/target/jars</directory>
  52. <outputDirectory>${assembly.name}/rsc-jars</outputDirectory>
  53. <includes>
  54. <include>*</include>
  55. </includes>
  56. </fileSet>
  57. <fileSet>
  58. <directory>${project.parent.basedir}/repl/scala-2.10/target/jars</directory>
  59. <outputDirectory>${assembly.name}/repl_2.10-jars</outputDirectory>
  60. <includes>
  61. <include>*</include>
  62. </includes>
  63. </fileSet>
  64. <fileSet>
  65. <directory>${project.parent.basedir}/repl/scala-2.11/target/jars</directory>
  66. <outputDirectory>${assembly.name}/repl_2.11-jars</outputDirectory>
  67. <includes>
  68. <include>*</include>
  69. </includes>
  70. </fileSet>
  71. <fileSet>
  72. <directory>${project.parent.basedir}/server/target/jars</directory>
  73. <outputDirectory>${assembly.name}/jars</outputDirectory>
  74. <includes>
  75. <include>*</include>
  76. </includes>
  77. </fileSet>
  78. </fileSets>
  79. </assembly>