pom.xml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. <!-- 父类定义 -->
  5. <parent>
  6. <groupId>com.iamberry</groupId>
  7. <artifactId>iamberry-parent</artifactId>
  8. <version>1.0.0</version>
  9. </parent>
  10. <!-- WeChat的web项目 -->
  11. <artifactId>iamberry-wechat-web</artifactId>
  12. <packaging>war</packaging>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.iamberry</groupId>
  16. <artifactId>iamberry-common-web</artifactId>
  17. <version>1.0.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.iamberry</groupId>
  21. <artifactId>iamberry-wechat-service</artifactId>
  22. <version>1.0.0</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.googlecode.json-simple</groupId>
  26. <artifactId>json-simple</artifactId>
  27. <version>1.1</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>javax.servlet.jsp</groupId>
  31. <artifactId>javax.servlet.jsp-api</artifactId>
  32. <version>2.3.1</version>
  33. <scope>provided</scope>
  34. </dependency>
  35. <dependency>
  36. <groupId>javax.servlet</groupId>
  37. <artifactId>javax.servlet-api</artifactId>
  38. <version>3.1.0</version>
  39. <scope>provided</scope>
  40. </dependency>
  41. <dependency>
  42. <groupId>javax.servlet</groupId>
  43. <artifactId>jstl</artifactId>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.jsoup</groupId>
  47. <artifactId>jsoup</artifactId>
  48. <version>1.7.3</version>
  49. </dependency>
  50. <!-- 新的项目使用druid -->
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>druid</artifactId>
  54. <version>1.0.20</version>
  55. </dependency>
  56. </dependencies>
  57. <build>
  58. <finalName>iamberry-wechat-web</finalName>
  59. <plugins>
  60. <plugin>
  61. <groupId>org.apache.maven.plugins</groupId>
  62. <artifactId>maven-compiler-plugin</artifactId>
  63. <version>3.3</version>
  64. <configuration>
  65. <source>1.7</source>
  66. <target>1.7</target>
  67. </configuration>
  68. </plugin>
  69. </plugins>
  70. </build>
  71. <!-- 配置 -->
  72. <profiles>
  73. <profile>
  74. <id>sonar</id>
  75. <activation>
  76. <activeByDefault>true</activeByDefault>
  77. </activation>
  78. <properties>
  79. <sonar.host.url>http://sonar.iamberry.com/</sonar.host.url>
  80. <sonar.login>admin</sonar.login>
  81. <sonar.password>iamberry123</sonar.password>
  82. </properties>
  83. </profile>
  84. </profiles>
  85. </project>