pom.xml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  2. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.dianping</groupId>
  6. <artifactId>dianping-job</artifactId>
  7. <version>0.0.1-SNAPSHOT</version>
  8. </parent>
  9. <artifactId>dianping-job-client</artifactId>
  10. <version>1.0.1-SNAPSHOT</version>
  11. <name>dianping-job-client</name>
  12. <url>http://maven.apache.org</url>
  13. <dependencies>
  14. <!-- servlet -->
  15. <dependency>
  16. <groupId>javax.servlet</groupId>
  17. <artifactId>servlet-api</artifactId>
  18. <version>2.5</version>
  19. <scope>provided</scope>
  20. </dependency>
  21. <dependency>
  22. <groupId>javax.servlet.jsp</groupId>
  23. <artifactId>jsp-api</artifactId>
  24. <version>2.1</version>
  25. <scope>provided</scope>
  26. </dependency>
  27. <!-- slf4j -->
  28. <dependency>
  29. <groupId>org.slf4j</groupId>
  30. <artifactId>slf4j-log4j12</artifactId>
  31. <version>1.7.5</version>
  32. </dependency>
  33. <!-- jackson -->
  34. <dependency>
  35. <groupId>org.codehaus.jackson</groupId>
  36. <artifactId>jackson-mapper-asl</artifactId>
  37. <version>1.9.13</version>
  38. </dependency>
  39. <!-- httpclient -->
  40. <dependency>
  41. <groupId>org.apache.httpcomponents</groupId>
  42. <artifactId>httpclient</artifactId>
  43. <version>4.3.6</version>
  44. </dependency>
  45. </dependencies>
  46. <build>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-compiler-plugin</artifactId>
  51. <version>3.1</version>
  52. <configuration>
  53. <source>1.6</source>
  54. <target>1.6</target>
  55. <encoding>UTF8</encoding>
  56. </configuration>
  57. </plugin>
  58. </plugins>
  59. </build>
  60. <profiles>
  61. <profile>
  62. <id>jdk-1.6</id>
  63. <activation>
  64. <activeByDefault>true</activeByDefault>
  65. <jdk>1.6</jdk>
  66. </activation>
  67. <properties>
  68. <maven.compiler.source>1.6</maven.compiler.source>
  69. <maven.compiler.target>1.6</maven.compiler.target>
  70. <maven.compiler.compilerVersion>1.6</maven.compiler.compilerVersion>
  71. </properties>
  72. </profile>
  73. </profiles>
  74. </project>