pom.xml 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <parent>
  5. <groupId>com.zheng</groupId>
  6. <artifactId>zheng-pay</artifactId>
  7. <version>1.0.0</version>
  8. </parent>
  9. <artifactId>zheng-pay-web</artifactId>
  10. <packaging>war</packaging>
  11. <name>zheng-pay-web Maven Webapp</name>
  12. <url>http://www.zhangshuzheng.cn</url>
  13. <dependencies>
  14. <dependency>
  15. <groupId>com.zheng</groupId>
  16. <artifactId>zheng-pay-rpc-api</artifactId>
  17. <version>1.0.0</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>com.zheng</groupId>
  21. <artifactId>zheng-admin</artifactId>
  22. <version>1.0.0</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>com.alipay</groupId>
  26. <artifactId>sdk-java</artifactId>
  27. <version>20170324180803</version>
  28. <scope>system</scope>
  29. <systemPath>${basedir}/src/main/webapp/WEB-INF/lib/alipay-sdk-java20170324180803.jar</systemPath>
  30. </dependency>
  31. <dependency>
  32. <groupId>junit</groupId>
  33. <artifactId>junit</artifactId>
  34. <version>4.12</version>
  35. <scope>test</scope>
  36. </dependency>
  37. <dependency>
  38. <groupId>javax.servlet</groupId>
  39. <artifactId>servlet-api</artifactId>
  40. <version>2.5</version>
  41. <scope>provided</scope>
  42. </dependency>
  43. <dependency>
  44. <groupId>javax.servlet</groupId>
  45. <artifactId>jstl</artifactId>
  46. <version>1.2</version>
  47. </dependency>
  48. <!-- zheng-upms-client -->
  49. <dependency>
  50. <groupId>com.zheng</groupId>
  51. <artifactId>zheng-upms-client</artifactId>
  52. <version>1.0.0</version>
  53. </dependency>
  54. </dependencies>
  55. <profiles>
  56. <profile>
  57. <id>dev</id>
  58. <properties>
  59. <env>dev</env>
  60. </properties>
  61. <activation>
  62. <activeByDefault>true</activeByDefault>
  63. </activation>
  64. </profile>
  65. <profile>
  66. <id>test</id>
  67. <properties>
  68. <env>test</env>
  69. </properties>
  70. </profile>
  71. <profile>
  72. <id>prod</id>
  73. <properties>
  74. <env>prod</env>
  75. </properties>
  76. </profile>
  77. </profiles>
  78. <build>
  79. <finalName>zheng-pay-web</finalName>
  80. <filters>
  81. <filter>src/main/resources/profiles/${env}.properties</filter>
  82. </filters>
  83. <resources>
  84. <resource>
  85. <directory>src/main/resources</directory>
  86. <filtering>true</filtering>
  87. </resource>
  88. </resources>
  89. <plugins>
  90. <!-- jetty插件 -->
  91. <plugin>
  92. <groupId>org.eclipse.jetty</groupId>
  93. <artifactId>jetty-maven-plugin</artifactId>
  94. <!--<version>9.0.0.v20130308</version>-->
  95. <version>9.2.7.v20150116</version>
  96. <configuration>
  97. <scanIntervalSeconds>3</scanIntervalSeconds>
  98. <webApp>
  99. <contextPath>/</contextPath>
  100. </webApp>
  101. <httpConnector>
  102. <port>3332</port>
  103. </httpConnector>
  104. <reload>automatic</reload>
  105. </configuration>
  106. </plugin>
  107. <plugin>
  108. <groupId>org.apache.maven.plugins</groupId>
  109. <artifactId>maven-surefire-plugin</artifactId>
  110. <version>2.18.1</version>
  111. <configuration>
  112. <skipTests>true</skipTests>
  113. <testFailureIgnore>true</testFailureIgnore>
  114. </configuration>
  115. </plugin>
  116. </plugins>
  117. </build>
  118. </project>