pom.xml 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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. <groupId>net.sppan</groupId>
  5. <artifactId>DingDingOA</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>war</packaging>
  8. <repositories>
  9. <repository>
  10. <id>nexus-aliyun</id>
  11. <url>http://maven.aliyun.com/nexus/content/groups/public</url>
  12. </repository>
  13. </repositories>
  14. <!-- Inherit defaults from Spring Boot -->
  15. <parent>
  16. <groupId>org.springframework.boot</groupId>
  17. <artifactId>spring-boot-starter-parent</artifactId>
  18. <version>1.5.9.RELEASE</version>
  19. </parent>
  20. <properties>
  21. <shiro.version>1.2.4</shiro.version>
  22. <java.version>1.7</java.version>
  23. </properties>
  24. <!-- Add typical dependencies for a web application -->
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.apache.maven.plugins</groupId>
  28. <artifactId>maven-resources-plugin</artifactId>
  29. <version>2.6</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.springframework.boot</groupId>
  33. <artifactId>spring-boot-starter-web</artifactId>
  34. <!-- 容器启动,启用下面代码 -->
  35. <!--
  36. <exclusions>
  37. <exclusion>
  38. <groupId>org.springframework.boot</groupId>
  39. <artifactId>spring-boot-starter-tomcat</artifactId>
  40. </exclusion>
  41. </exclusions>
  42. -->
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-starter-freemarker</artifactId>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.springframework.boot</groupId>
  50. <artifactId>spring-boot-starter-data-jpa</artifactId>
  51. </dependency>
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-cache</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.springframework.boot</groupId>
  58. <artifactId>spring-boot-starter-test</artifactId>
  59. <scope>test</scope>
  60. </dependency>
  61. <dependency>
  62. <groupId>com.alibaba</groupId>
  63. <artifactId>druid</artifactId>
  64. <version>1.0.15</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>net.sf.ehcache</groupId>
  68. <artifactId>ehcache</artifactId>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.apache.shiro</groupId>
  72. <artifactId>shiro-core</artifactId>
  73. <version>${shiro.version}</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>org.apache.shiro</groupId>
  77. <artifactId>shiro-spring</artifactId>
  78. <version>${shiro.version}</version>
  79. </dependency>
  80. <dependency>
  81. <groupId>org.apache.shiro</groupId>
  82. <artifactId>shiro-web</artifactId>
  83. <version>${shiro.version}</version>
  84. </dependency>
  85. <dependency>
  86. <groupId>mysql</groupId>
  87. <artifactId>mysql-connector-java</artifactId>
  88. </dependency>
  89. <dependency>
  90. <groupId>org.apache.commons</groupId>
  91. <artifactId>commons-lang3</artifactId>
  92. <version>3.3.2</version>
  93. </dependency>
  94. <dependency>
  95. <groupId>joda-time</groupId>
  96. <artifactId>joda-time</artifactId>
  97. </dependency>
  98. <!-- https://mvnrepository.com/artifact/org.jadira.usertype/usertype.core -->
  99. <dependency>
  100. <groupId>org.jadira.usertype</groupId>
  101. <artifactId>usertype.core</artifactId>
  102. <version>5.0.0.GA</version>
  103. </dependency>
  104. <dependency>
  105. <groupId>org.jadira.usertype</groupId>
  106. <artifactId>usertype.spi</artifactId>
  107. <version>5.0.0.GA</version>
  108. </dependency>
  109. <dependency>
  110. <groupId>com.alibaba</groupId>
  111. <artifactId>fastjson</artifactId>
  112. <version>1.2.15</version>
  113. </dependency>
  114. <dependency>
  115. <groupId>org.apache.httpcomponents</groupId>
  116. <artifactId>httpclient</artifactId>
  117. <version>4.5.5</version>
  118. </dependency>
  119. <dependency>
  120. <groupId>net.sf.json-lib</groupId>
  121. <artifactId>json-lib</artifactId>
  122. <version>2.4</version>
  123. <classifier>jdk15</classifier>
  124. </dependency>
  125. <dependency>
  126. <groupId>org.json</groupId>
  127. <artifactId>json</artifactId>
  128. <version>20171018</version>
  129. </dependency>
  130. <dependency>
  131. <groupId>org.jsoup</groupId>
  132. <artifactId>jsoup</artifactId>
  133. <version>1.10.3</version>
  134. </dependency>
  135. <dependency>
  136. <groupId>org.springframework.boot</groupId>
  137. <artifactId>spring-boot-devtools</artifactId>
  138. <optional>true</optional><!-- optional=true,依赖不会传递,该项目依赖devtools;之后依赖myboot项目的项目如果想要使用devtools,需要重新引入 -->
  139. </dependency>
  140. <dependency>
  141. <groupId>org.springframework.boot</groupId>
  142. <artifactId>spring-boot-configuration-processor</artifactId>
  143. <optional>true</optional>
  144. </dependency>
  145. <dependency>
  146. <groupId>ant</groupId>
  147. <artifactId>ant</artifactId>
  148. <version>1.6.5</version>
  149. </dependency>
  150. <dependency>
  151. <groupId>com.itextpdf</groupId>
  152. <artifactId>itextpdf</artifactId>
  153. <version>5.5.11</version>
  154. </dependency>
  155. <dependency>
  156. <groupId>com.itextpdf.tool</groupId>
  157. <artifactId>xmlworker</artifactId>
  158. <version>5.5.11</version>
  159. </dependency>
  160. </dependencies>
  161. <build>
  162. <plugins>
  163. <plugin>
  164. <groupId>org.apache.maven.plugins</groupId>
  165. <artifactId>maven-compiler-plugin</artifactId>
  166. <configuration>
  167. <source>${java.version}</source>
  168. <target>${java.version}</target>
  169. <encoding>UTF-8</encoding>
  170. </configuration>
  171. </plugin>
  172. <plugin>
  173. <groupId>org.springframework.boot</groupId>
  174. <artifactId>spring-boot-maven-plugin</artifactId>
  175. <configuration>
  176. <mainClass>com.fourdage.Application</mainClass>
  177. <fork>true</fork>
  178. </configuration>
  179. </plugin>
  180. </plugins>
  181. </build>
  182. </project>