pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>com.cloudera.hue</groupId>
  7. <artifactId>dbproxy</artifactId>
  8. <version>1.0-SNAPSHOT</version>
  9. <dependencies>
  10. <dependency>
  11. <groupId>net.sf.py4j</groupId>
  12. <artifactId>py4j</artifactId>
  13. <version>0.8.2.1</version>
  14. </dependency>
  15. <dependency>
  16. <groupId>mysql</groupId>
  17. <artifactId>mysql-connector-java</artifactId>
  18. <version>5.1.34</version>
  19. </dependency>
  20. </dependencies>
  21. <build>
  22. <plugins>
  23. <plugin>
  24. <groupId>org.apache.maven.plugins</groupId>
  25. <artifactId>maven-jar-plugin</artifactId>
  26. <configuration>
  27. <archive>
  28. <manifest>
  29. <addClasspath>true</addClasspath>
  30. <classpathPrefix>lib/</classpathPrefix>
  31. <mainClass>com.cloudera.hue.dbproxy.DBProxy</mainClass>
  32. </manifest>
  33. </archive>
  34. </configuration>
  35. </plugin>
  36. <plugin>
  37. <groupId>org.apache.maven.plugins</groupId>
  38. <artifactId>maven-shade-plugin</artifactId>
  39. <configuration>
  40. <shadedArtifactAttached>false</shadedArtifactAttached>
  41. <outputFile>${livy.jar}</outputFile>
  42. <artifactSet>
  43. <includes>
  44. <include>*:*</include>
  45. </includes>
  46. </artifactSet>
  47. <filters>
  48. <filter>
  49. <artifact>*:*</artifact>
  50. <excludes>
  51. <exclude>META-INF/*.SF</exclude>
  52. <exclude>META-INF/*.DSA</exclude>
  53. <exclude>META-INF/*.RSA</exclude>
  54. </excludes>
  55. </filter>
  56. </filters>
  57. </configuration>
  58. <executions>
  59. <execution>
  60. <phase>package</phase>
  61. <goals>
  62. <goal>shade</goal>
  63. </goals>
  64. </execution>
  65. </executions>
  66. </plugin>
  67. </plugins>
  68. </build>
  69. </project>