Advertisement
Guest User

Untitled

a guest
Jul 23rd, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  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.  
  7. <groupId>hdp.crypto.pigcounter</groupId>
  8. <artifactId>PigCounter</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10.  
  11.  
  12.  
  13. <build>
  14. <directory>target</directory>
  15. <outputDirectory>target/classes</outputDirectory>
  16. <finalName>${artifactId}-${version}</finalName>
  17. <testOutputDirectory>target/test-classes</testOutputDirectory>
  18.  
  19. <plugins>
  20. <plugin>
  21. <groupId>org.apache.maven.plugins</groupId>
  22. <artifactId>maven-compiler-plugin</artifactId>
  23. <version>3.8.0</version>
  24. <configuration>
  25. <source>1.8</source>
  26. <target>1.8</target>
  27. </configuration>
  28. </plugin>
  29.  
  30. <!-- Maven Assembly Plugin -->
  31. <plugin>
  32. <groupId>org.apache.maven.plugins</groupId>
  33. <artifactId>maven-assembly-plugin</artifactId>
  34.  
  35. <configuration>
  36. <!-- get all project dependencies -->
  37. <descriptorRefs>
  38. <descriptorRef>
  39. jar-with-dependencies
  40. </descriptorRef>
  41. </descriptorRefs>
  42. <!-- MainClass in mainfest make a executable jar -->
  43. <archive>
  44. <manifest>
  45. <mainClass>pigcounter.PigCounter</mainClass>
  46. </manifest>
  47. </archive>
  48. </configuration> <executions>
  49. <execution>
  50. <id>make-assembly</id>
  51. <!-- bind to the packaging phase -->
  52. <phase>package</phase>
  53. <goals>
  54. <goal>single</goal>
  55. </goals>
  56. </execution>
  57. </executions>
  58. </plugin>
  59.  
  60. <plugin>
  61. <artifactId>maven-assembly-plugin</artifactId>
  62. <version>3.1.1</version>
  63. <configuration>
  64. <descriptorRefs>
  65. <descriptorRef>jar-with-dependencies</descriptorRef>
  66. </descriptorRefs>
  67. </configuration>
  68. </plugin>
  69.  
  70.  
  71. </plugins>
  72. </build>
  73.  
  74. <dependencies>
  75. <!-- https://mvnrepository.com/artifact/org.bouncycastle/bcprov-jdk15on -->
  76. <dependency>
  77. <groupId>org.bouncycastle</groupId>
  78. <artifactId>bcprov-jdk15on</artifactId>
  79. <version>1.60</version>
  80. </dependency>
  81.  
  82. <dependency>
  83. <groupId>org.apache.hadoop</groupId>
  84. <artifactId>hadoop-common</artifactId>
  85. <version>2.7.3</version>
  86. </dependency>
  87.  
  88. <dependency>
  89. <groupId>org.apache.hadoop</groupId>
  90. <artifactId>hadoop-mapreduce-client-core</artifactId>
  91. <version>2.7.3</version>
  92. </dependency>
  93.  
  94. <dependency>
  95. <groupId>log4j</groupId>
  96. <artifactId>log4j</artifactId>
  97. <version>1.2.16</version>
  98. </dependency>
  99. <dependency>
  100. <groupId>org.apache.pig</groupId>
  101. <artifactId>pig</artifactId>
  102. <version>0.15.0</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.antlr</groupId>
  106. <artifactId>antlr-runtime</artifactId>
  107. <version>3.4</version>
  108. </dependency>
  109. </dependencies>
  110.  
  111.  
  112. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement