pom.xml 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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.6.0-incubating-SNAPSHOT</version>
  24. <relativePath>../pom.xml</relativePath>
  25. </parent>
  26. <artifactId>livy-assembly</artifactId>
  27. <version>0.6.0-incubating-SNAPSHOT</version>
  28. <packaging>pom</packaging>
  29. <properties>
  30. <assembly.name>livy-${project.version}-bin</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.11</artifactId>
  43. <version>${project.version}</version>
  44. </dependency>
  45. <dependency>
  46. <groupId>${project.groupId}</groupId>
  47. <artifactId>livy-server</artifactId>
  48. <version>${project.version}</version>
  49. </dependency>
  50. </dependencies>
  51. <build>
  52. <plugins>
  53. <plugin>
  54. <groupId>org.apache.maven.plugins</groupId>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <executions>
  57. <execution>
  58. <phase>package</phase>
  59. <goals>
  60. <goal>single</goal>
  61. </goals>
  62. <configuration>
  63. <finalName>${assembly.name}</finalName>
  64. <appendAssemblyId>false</appendAssemblyId>
  65. <descriptors>
  66. <descriptor>assembly.xml</descriptor>
  67. </descriptors>
  68. </configuration>
  69. </execution>
  70. </executions>
  71. </plugin>
  72. </plugins>
  73. </build>
  74. <profiles>
  75. <profile>
  76. <id>targz</id>
  77. <properties>
  78. <assembly.format>tar.gz</assembly.format>
  79. </properties>
  80. </profile>
  81. <profile>
  82. <id>thriftserver</id>
  83. <dependencies>
  84. <dependency>
  85. <groupId>${project.groupId}</groupId>
  86. <artifactId>livy-thriftserver</artifactId>
  87. <version>${project.version}</version>
  88. </dependency>
  89. </dependencies>
  90. </profile>
  91. </profiles>
  92. </project>