pom.xml 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. <?xml version="1.0"?>
  2. <project
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
  4. xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  5. <modelVersion>4.0.0</modelVersion>
  6. <parent>
  7. <groupId>com.usoftchina</groupId>
  8. <artifactId>usoftchina-cms</artifactId>
  9. <version>1.0</version>
  10. </parent>
  11. <artifactId>jpress-web-admin</artifactId>
  12. <name>jpress-web-admin</name>
  13. <url>http://jpress.io</url>
  14. <packaging>war</packaging>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>junit</groupId>
  22. <artifactId>junit</artifactId>
  23. <scope>test</scope>
  24. </dependency>
  25. <dependency>
  26. <groupId>com.jfinal</groupId>
  27. <artifactId>cos</artifactId>
  28. <version>26Dec2008</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.alibaba</groupId>
  32. <artifactId>druid</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>net.sf.ehcache</groupId>
  36. <artifactId>ehcache</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.alibaba</groupId>
  40. <artifactId>fastjson</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.freemarker</groupId>
  44. <artifactId>freemarker</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>com.jfinal</groupId>
  48. <artifactId>jfinal</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>com.jfinal</groupId>
  52. <artifactId>jfinal-weixin</artifactId>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.jsoup</groupId>
  56. <artifactId>jsoup</artifactId>
  57. </dependency>
  58. <dependency>
  59. <groupId>org.slf4j</groupId>
  60. <artifactId>slf4j-api</artifactId>
  61. </dependency>
  62. <dependency>
  63. <groupId>org.slf4j</groupId>
  64. <artifactId>slf4j-log4j12</artifactId>
  65. </dependency>
  66. <dependency>
  67. <groupId>log4j</groupId>
  68. <artifactId>log4j</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>javax.servlet</groupId>
  72. <artifactId>javax.servlet-api</artifactId>
  73. <scope>provided</scope>
  74. </dependency>
  75. <dependency>
  76. <groupId>com.usoftchina</groupId>
  77. <artifactId>jpress-commons</artifactId>
  78. <version>1.0</version>
  79. <type>jar</type>
  80. <scope>compile</scope>
  81. </dependency>
  82. <dependency>
  83. <groupId>com.usoftchina</groupId>
  84. <artifactId>jpress-message</artifactId>
  85. <version>1.0</version>
  86. <type>jar</type>
  87. <scope>compile</scope>
  88. </dependency>
  89. <dependency>
  90. <groupId>com.usoftchina</groupId>
  91. <artifactId>jpress-search-api</artifactId>
  92. <version>1.0</version>
  93. <type>jar</type>
  94. <scope>compile</scope>
  95. </dependency>
  96. <dependency>
  97. <groupId>com.usoftchina</groupId>
  98. <artifactId>jpress-search-dbsimple</artifactId>
  99. <version>1.0</version>
  100. <type>jar</type>
  101. <scope>compile</scope>
  102. </dependency>
  103. <dependency>
  104. <groupId>com.usoftchina</groupId>
  105. <artifactId>jpress-model</artifactId>
  106. <version>1.0</version>
  107. <type>jar</type>
  108. <scope>compile</scope>
  109. </dependency>
  110. <dependency>
  111. <groupId>com.usoftchina</groupId>
  112. <artifactId>jpress-web-core</artifactId>
  113. <version>1.0</version>
  114. <type>jar</type>
  115. <classifier>classes</classifier>
  116. <scope>provided</scope>
  117. </dependency>
  118. <dependency>
  119. <groupId>com.usoftchina</groupId>
  120. <artifactId>jpress-web-core</artifactId>
  121. <version>1.0</version>
  122. <type>war</type>
  123. <scope>compile</scope>
  124. </dependency>
  125. <dependency>
  126. <groupId>com.usoftchina</groupId>
  127. <artifactId>jpress-web-template-mallcms</artifactId>
  128. <version>1.0</version>
  129. <type>war</type>
  130. <scope>compile</scope>
  131. </dependency>
  132. </dependencies>
  133. <build>
  134. <finalName>${project.artifactId}-${project.version}</finalName>
  135. <plugins>
  136. <plugin>
  137. <artifactId>maven-compiler-plugin</artifactId>
  138. <configuration>
  139. <encoding>UTF-8</encoding>
  140. </configuration>
  141. </plugin>
  142. <plugin>
  143. <groupId>org.apache.tomcat.maven</groupId>
  144. <artifactId>tomcat6-maven-plugin</artifactId>
  145. <version>2.2</version>
  146. <configuration>
  147. <port>8080</port>
  148. <path>/jpress</path>
  149. <uriEncoding>UTF-8</uriEncoding>
  150. <server>tomcat7</server>
  151. </configuration>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.apache.tomcat.maven</groupId>
  155. <artifactId>tomcat7-maven-plugin</artifactId>
  156. <version>2.2</version>
  157. <configuration>
  158. <port>8080</port>
  159. <path>/jpress</path>
  160. <uriEncoding>UTF-8</uriEncoding>
  161. <server>tomcat7</server>
  162. </configuration>
  163. </plugin>
  164. <plugin>
  165. <groupId>org.mortbay.jetty</groupId>
  166. <artifactId>maven-jetty-plugin</artifactId>
  167. <version>6.1.10</version>
  168. </plugin>
  169. <plugin>
  170. <groupId>org.apache.maven.plugins</groupId>
  171. <artifactId>maven-war-plugin</artifactId>
  172. <configuration>
  173. <attachClasses>true</attachClasses>
  174. <encoding>utf-8</encoding>
  175. <packagingExcludes>WEB-INF/web.xml</packagingExcludes>
  176. <overlays>
  177. <overlay>
  178. <groupId>com.usoftchina</groupId>
  179. <artifactId>jpress-web-core</artifactId>
  180. </overlay>
  181. <overlay>
  182. <groupId>com.usoftchina</groupId>
  183. <artifactId>jpress-web-template-mallcms</artifactId>
  184. </overlay>
  185. </overlays>
  186. </configuration>
  187. </plugin>
  188. </plugins>
  189. </build>
  190. </project>