pom.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.jubotech</groupId>
  6. <artifactId>wework-server-1.0</artifactId>
  7. <version>0.0.1</version>
  8. <parent>
  9. <groupId>org.springframework.boot</groupId>
  10. <artifactId>spring-boot-starter-parent</artifactId>
  11. <version>1.5.8.RELEASE</version>
  12. </parent>
  13. <properties>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <dependencies>
  19. <!-- 整合 javaweb -->
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <!-- freemarker包 -->
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-freemarker</artifactId>
  28. </dependency>
  29. <!-- 整合测试框架 -->
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-test</artifactId>
  33. </dependency>
  34. <!-- 数据库驱动 -->
  35. <dependency>
  36. <groupId>mysql</groupId>
  37. <artifactId>mysql-connector-java</artifactId>
  38. </dependency>
  39. <!-- 整合mybatis -->
  40. <dependency>
  41. <groupId>org.mybatis.spring.boot</groupId>
  42. <artifactId>mybatis-spring-boot-starter</artifactId>
  43. <version>1.1.1</version>
  44. </dependency>
  45. <!-- 整合Ehcache -->
  46. <dependency>
  47. <groupId>org.springframework</groupId>
  48. <artifactId>spring-context-support</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.mybatis.caches</groupId>
  52. <artifactId>mybatis-ehcache</artifactId>
  53. <version>1.1.0</version>
  54. </dependency>
  55. <!-- 整合netty -->
  56. <dependency>
  57. <groupId>io.netty</groupId>
  58. <artifactId>netty-all</artifactId>
  59. <version>4.1.25.Final</version>
  60. </dependency>
  61. <!-- 加入protobuf -->
  62. <dependency>
  63. <groupId>com.google.protobuf</groupId>
  64. <artifactId>protobuf-java</artifactId>
  65. <version>3.10.0</version>
  66. </dependency>
  67. <dependency>
  68. <groupId>com.googlecode.protobuf-java-format</groupId>
  69. <artifactId>protobuf-java-format</artifactId>
  70. <version>1.2</version>
  71. </dependency>
  72. <dependency>
  73. <groupId>com.google.protobuf</groupId>
  74. <artifactId>protobuf-java-util</artifactId>
  75. <version>3.10.0</version>
  76. </dependency>
  77. <dependency>
  78. <groupId>com.alibaba</groupId>
  79. <artifactId>fastjson</artifactId>
  80. <version>1.2.32</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>org.apache.commons</groupId>
  84. <artifactId>commons-lang3</artifactId>
  85. <version>3.4</version>
  86. </dependency>
  87. <dependency>
  88. <groupId>org.projectlombok</groupId>
  89. <artifactId>lombok</artifactId>
  90. </dependency>
  91. <dependency>
  92. <groupId>commons-codec</groupId>
  93. <artifactId>commons-codec</artifactId>
  94. </dependency>
  95. <dependency>
  96. <groupId>commons-fileupload</groupId>
  97. <artifactId>commons-fileupload</artifactId>
  98. <version>1.3.1</version>
  99. </dependency>
  100. <!--tkmybatis-->
  101. <dependency>
  102. <groupId>tk.mybatis</groupId>
  103. <artifactId>mapper</artifactId>
  104. <version>4.0.0</version>
  105. </dependency>
  106. <dependency>
  107. <groupId>com.github.pagehelper</groupId>
  108. <artifactId>pagehelper-spring-boot-starter</artifactId>
  109. <version>1.2.10</version>
  110. </dependency>
  111. <dependency>
  112. <groupId>io.github.shibing624</groupId>
  113. <artifactId>similarity</artifactId>
  114. <version>1.1.3</version>
  115. <scope>system</scope>
  116. <systemPath>${project.basedir}/src/lib/similarity-1.1.6.jar</systemPath>
  117. </dependency>
  118. <dependency>
  119. <groupId>org.springframework.boot</groupId>
  120. <artifactId>spring-boot-devtools</artifactId>
  121. <optional>true</optional>
  122. </dependency>
  123. </dependencies>
  124. <repositories>
  125. <repository>
  126. <id>jitpack.io</id>
  127. <url>https://jitpack.io</url>
  128. </repository>
  129. </repositories>
  130. <build>
  131. <plugins>
  132. <plugin>
  133. <groupId>org.apache.maven.plugins</groupId>
  134. <artifactId>maven-compiler-plugin</artifactId>
  135. <configuration>
  136. <!--JDK版本-->
  137. <source>1.8</source>
  138. <target>1.8</target>
  139. </configuration>
  140. </plugin>
  141. <plugin>
  142. <groupId>org.springframework.boot</groupId>
  143. <artifactId>spring-boot-maven-plugin</artifactId>
  144. <configuration>
  145. <mainClass>com.jubotech.SpringBootStarter</mainClass>
  146. </configuration>
  147. <executions>
  148. <execution>
  149. <goals>
  150. <goal>repackage</goal>
  151. </goals>
  152. </execution>
  153. </executions>
  154. </plugin>
  155. </plugins>
  156. </build>
  157. </project>