pom.xml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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"
  19. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  20. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  21. <modelVersion>4.0.0</modelVersion>
  22. <parent>
  23. <groupId>org.apache.livy</groupId>
  24. <artifactId>livy-main</artifactId>
  25. <version>0.8.0-incubating-SNAPSHOT</version>
  26. <relativePath>../../pom.xml</relativePath>
  27. </parent>
  28. <groupId>org.apache.livy</groupId>
  29. <artifactId>livy-thriftserver-session</artifactId>
  30. <dependencies>
  31. <dependency>
  32. <groupId>${project.groupId}</groupId>
  33. <artifactId>livy-api</artifactId>
  34. <version>${project.version}</version>
  35. <scope>provided</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>org.apache.spark</groupId>
  39. <artifactId>spark-core_${scala.binary.version}</artifactId>
  40. <scope>provided</scope>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.spark</groupId>
  44. <artifactId>spark-sql_${scala.binary.version}</artifactId>
  45. <scope>provided</scope>
  46. </dependency>
  47. <dependency>
  48. <groupId>org.apache.spark</groupId>
  49. <artifactId>spark-hive_${scala.binary.version}</artifactId>
  50. <scope>provided</scope>
  51. <exclusions>
  52. <exclusion>
  53. <groupId>*</groupId>
  54. <artifactId>*</artifactId>
  55. </exclusion>
  56. </exclusions>
  57. </dependency>
  58. <dependency>
  59. <groupId>${project.groupId}</groupId>
  60. <artifactId>livy-rsc</artifactId>
  61. <version>${project.version}</version>
  62. <scope>test</scope>
  63. </dependency>
  64. </dependencies>
  65. <build>
  66. <plugins>
  67. <plugin>
  68. <groupId>org.apache.maven.plugins</groupId>
  69. <artifactId>maven-dependency-plugin</artifactId>
  70. <executions>
  71. <execution>
  72. <phase>package</phase>
  73. <goals>
  74. <goal>copy</goal>
  75. </goals>
  76. <configuration>
  77. <artifactItems>
  78. <artifactItem>
  79. <groupId>${project.groupId}</groupId>
  80. <artifactId>livy-thriftserver-session</artifactId>
  81. <version>${project.version}</version>
  82. <type>jar</type>
  83. <overWrite>true</overWrite>
  84. <outputDirectory>${project.build.directory}/jars</outputDirectory>
  85. </artifactItem>
  86. </artifactItems>
  87. </configuration>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. </plugins>
  92. </build>
  93. </project>