pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
  4. <parent>
  5. <groupId>com.dianping.cat</groupId>
  6. <artifactId>parent</artifactId>
  7. <version>2.0.0</version>
  8. </parent>
  9. <modelVersion>4.0.0</modelVersion>
  10. <artifactId>cat-hadoop</artifactId>
  11. <name>cat-hadoop</name>
  12. <packaging>jar</packaging>
  13. <dependencies>
  14. <!-- use hadoop 2 -->
  15. <dependency>
  16. <groupId>org.apache.hadoop</groupId>
  17. <artifactId>hadoop-client</artifactId>
  18. <version>2.4.1</version>
  19. <exclusions>
  20. <exclusion>
  21. <groupId>tomcat</groupId>
  22. <artifactId>jasper-runtime</artifactId>
  23. </exclusion>
  24. <exclusion>
  25. <groupId>tomcat</groupId>
  26. <artifactId>jasper-compiler</artifactId>
  27. </exclusion>
  28. <exclusion>
  29. <groupId>org.mortbay.jetty</groupId>
  30. <artifactId>jetty</artifactId>
  31. </exclusion>
  32. <exclusion>
  33. <groupId>org.mortbay.jetty</groupId>
  34. <artifactId>jetty-util</artifactId>
  35. </exclusion>
  36. <exclusion>
  37. <groupId>javax.servlet</groupId>
  38. <artifactId>servlet-api</artifactId>
  39. </exclusion>
  40. </exclusions>
  41. </dependency>
  42. <dependency>
  43. <groupId>com.dianping.cat</groupId>
  44. <artifactId>cat-core</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>junit</groupId>
  48. <artifactId>junit</artifactId>
  49. <scope>test</scope>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.unidal.maven.plugins</groupId>
  56. <artifactId>plexus-maven-plugin</artifactId>
  57. <executions>
  58. <execution>
  59. <id>generate plexus component descriptor</id>
  60. <phase>process-classes</phase>
  61. <goals>
  62. <goal>plexus</goal>
  63. </goals>
  64. <configuration>
  65. <className>com.dianping.cat.hadoop.build.ComponentsConfigurator</className>
  66. </configuration>
  67. </execution>
  68. </executions>
  69. </plugin>
  70. </plugins>
  71. </build>
  72. </project>