pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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.8.0-incubating-SNAPSHOT</version>
  24. <relativePath>../pom.xml</relativePath>
  25. </parent>
  26. <artifactId>livy-assembly</artifactId>
  27. <version>0.8.0-incubating-SNAPSHOT</version>
  28. <packaging>pom</packaging>
  29. <properties>
  30. <assembly.name>apache-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-repl_2.12</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. </configuration>
  74. </execution>
  75. </executions>
  76. </plugin>
  77. <plugin>
  78. <groupId>org.apache.maven.plugins</groupId>
  79. <artifactId>maven-surefire-plugin</artifactId>
  80. <configuration>
  81. <skipTests>true</skipTests>
  82. </configuration>
  83. </plugin>
  84. <plugin>
  85. <groupId>org.scalatest</groupId>
  86. <artifactId>scalatest-maven-plugin</artifactId>
  87. <configuration>
  88. <skipTests>true</skipTests>
  89. </configuration>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. <profiles>
  94. <profile>
  95. <id>targz</id>
  96. <properties>
  97. <assembly.format>tar.gz</assembly.format>
  98. </properties>
  99. </profile>
  100. <profile>
  101. <id>thriftserver</id>
  102. <dependencies>
  103. <dependency>
  104. <groupId>${project.groupId}</groupId>
  105. <artifactId>livy-thriftserver</artifactId>
  106. <version>${project.version}</version>
  107. </dependency>
  108. <dependency>
  109. <groupId>${project.groupId}</groupId>
  110. <artifactId>livy-thriftserver-session</artifactId>
  111. <version>${project.version}</version>
  112. </dependency>
  113. </dependencies>
  114. </profile>
  115. </profiles>
  116. </project>