pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!--
  3. ~ Licensed to the Apache Software Foundation (ASF) under one or more
  4. ~ contributor license agreements. See the NOTICE file distributed with
  5. ~ this work for additional information regarding copyright ownership.
  6. ~ The ASF licenses this file to You under the Apache License, Version 2.0
  7. ~ (the "License"); you may not use this file except in compliance with
  8. ~ the License. You may obtain a copy of the License at
  9. ~
  10. ~ http://www.apache.org/licenses/LICENSE-2.0
  11. ~
  12. ~ Unless required by applicable law or agreed to in writing, software
  13. ~ distributed under the License is distributed on an "AS IS" BASIS,
  14. ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. ~ See the License for the specific language governing permissions and
  16. ~ limitations under the License.
  17. -->
  18. <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">
  19. <modelVersion>4.0.0</modelVersion>
  20. <parent>
  21. <groupId>org.apache.livy</groupId>
  22. <artifactId>livy-main</artifactId>
  23. <version>0.4.0-incubating-SNAPSHOT</version>
  24. <relativePath>../pom.xml</relativePath>
  25. </parent>
  26. <artifactId>livy-assembly</artifactId>
  27. <version>0.4.0-incubating-SNAPSHOT</version>
  28. <packaging>pom</packaging>
  29. <properties>
  30. <assembly.name>livy-server-${project.version}</assembly.name>
  31. <assembly.format>zip</assembly.format>
  32. <skipDeploy>true</skipDeploy>
  33. </properties>
  34. <dependencies>
  35. <dependency>
  36. <groupId>${project.groupId}</groupId>
  37. <artifactId>livy-rsc</artifactId>
  38. <version>${project.version}</version>
  39. </dependency>
  40. <dependency>
  41. <groupId>${project.groupId}</groupId>
  42. <artifactId>livy-repl_2.10</artifactId>
  43. <version>${project.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>${project.groupId}</groupId>
  47. <artifactId>livy-repl_2.11</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>${project.groupId}</groupId>
  52. <artifactId>livy-server</artifactId>
  53. <version>${project.version}</version>
  54. </dependency>
  55. </dependencies>
  56. <build>
  57. <plugins>
  58. <plugin>
  59. <groupId>org.apache.maven.plugins</groupId>
  60. <artifactId>maven-assembly-plugin</artifactId>
  61. <executions>
  62. <execution>
  63. <phase>package</phase>
  64. <goals>
  65. <goal>single</goal>
  66. </goals>
  67. <configuration>
  68. <finalName>${assembly.name}</finalName>
  69. <appendAssemblyId>false</appendAssemblyId>
  70. <descriptors>
  71. <descriptor>assembly.xml</descriptor>
  72. </descriptors>
  73. <formats>
  74. <format>${assembly.format}</format>
  75. </formats>
  76. </configuration>
  77. </execution>
  78. </executions>
  79. </plugin>
  80. </plugins>
  81. </build>
  82. <profiles>
  83. <profile>
  84. <id>targz</id>
  85. <properties>
  86. <assembly.format>tar.gz</assembly.format>
  87. </properties>
  88. </profile>
  89. </profiles>
  90. </project>