pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6. <groupId>jp.yamoto</groupId>
  7. <artifactId>farm</artifactId>
  8. <version>1.0.0</version>
  9. <name>yamoto</name>
  10. <url>http://www.yamoto.jp</url>
  11. <description>農家(農業法人)支援</description>
  12. <properties>
  13. <farm.version>1.0.0</farm.version>
  14. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  15. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  16. <java.version>21</java.version>
  17. <maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
  18. <mybatis-spring-boot.version>3.0.4</mybatis-spring-boot.version>
  19. <druid.version>1.2.27</druid.version>
  20. <bitwalker.version>1.21</bitwalker.version>
  21. <swagger.version>3.0.0</swagger.version>
  22. <kaptcha.version>2.3.3</kaptcha.version>
  23. <pagehelper.boot.version>2.1.0</pagehelper.boot.version>
  24. <fastjson.version>2.0.43</fastjson.version>
  25. <oshi.version>6.8.3</oshi.version>
  26. <commons.io.version>2.19.0</commons.io.version>
  27. <poi.version>4.1.2</poi.version>
  28. <velocity.version>2.3</velocity.version>
  29. <jwt.version>0.9.1</jwt.version>
  30. <mysql.version>8.2.0</mysql.version>
  31. <postgresql.version>42.7.8</postgresql.version>
  32. <jaxb-api.version>2.3.1</jaxb-api.version>
  33. <jakarta.version>6.0.0</jakarta.version>
  34. <springdoc.version>2.8.9</springdoc.version>
  35. </properties>
  36. <!-- dependencies -->
  37. <dependencyManagement>
  38. <dependencies>
  39. <!-- SpringBoot dependencies-->
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-dependencies</artifactId>
  43. <version>3.5.8</version>
  44. <type>pom</type>
  45. <scope>import</scope>
  46. </dependency>
  47. <!-- Database connection pool -->
  48. <dependency>
  49. <groupId>com.alibaba</groupId>
  50. <artifactId>druid-spring-boot-3-starter</artifactId>
  51. <version>${druid.version}</version>
  52. </dependency>
  53. <!-- Analyze client operating systems, browsers, etc -->
  54. <dependency>
  55. <groupId>eu.bitwalker</groupId>
  56. <artifactId>UserAgentUtils</artifactId>
  57. <version>${bitwalker.version}</version>
  58. </dependency>
  59. <!-- pagehelper -->
  60. <dependency>
  61. <groupId>com.github.pagehelper</groupId>
  62. <artifactId>pagehelper-spring-boot-starter</artifactId>
  63. <version>${pagehelper.boot.version}</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>org.mybatis.spring.boot</groupId>
  67. <artifactId>mybatis-spring-boot-starter</artifactId>
  68. <version>${mybatis-spring-boot.version}</version>
  69. </dependency>
  70. <!-- Postgresql -->
  71. <dependency>
  72. <groupId>org.postgresql</groupId>
  73. <artifactId>postgresql</artifactId>
  74. <version>${postgresql.version}</version>
  75. <scope>runtime</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>javax.xml.bind</groupId>
  79. <artifactId>jaxb-api</artifactId>
  80. <version>${jaxb-api.version}</version>
  81. </dependency>
  82. <dependency>
  83. <groupId>jakarta.servlet</groupId>
  84. <artifactId>jakarta.servlet-api</artifactId>
  85. <version>${jakarta.version}</version>
  86. </dependency>
  87. <!-- System Info -->
  88. <dependency>
  89. <groupId>com.github.oshi</groupId>
  90. <artifactId>oshi-core</artifactId>
  91. <version>${oshi.version}</version>
  92. </dependency>
  93. <!-- spring-doc -->
  94. <dependency>
  95. <groupId>org.springdoc</groupId>
  96. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  97. <version>${springdoc.version}</version>
  98. </dependency>
  99. <!-- io tools -->
  100. <dependency>
  101. <groupId>commons-io</groupId>
  102. <artifactId>commons-io</artifactId>
  103. <version>${commons.io.version}</version>
  104. </dependency>
  105. <!-- excel tools -->
  106. <dependency>
  107. <groupId>org.apache.poi</groupId>
  108. <artifactId>poi-ooxml</artifactId>
  109. <version>${poi.version}</version>
  110. </dependency>
  111. <!-- velocity templete -->
  112. <dependency>
  113. <groupId>org.apache.velocity</groupId>
  114. <artifactId>velocity-engine-core</artifactId>
  115. <version>${velocity.version}</version>
  116. </dependency>
  117. <!--alibaba JSON -->
  118. <dependency>
  119. <groupId>com.alibaba.fastjson2</groupId>
  120. <artifactId>fastjson2</artifactId>
  121. <version>${fastjson.version}</version>
  122. </dependency>
  123. <!-- Token-->
  124. <dependency>
  125. <groupId>io.jsonwebtoken</groupId>
  126. <artifactId>jjwt</artifactId>
  127. <version>${jwt.version}</version>
  128. </dependency>
  129. <!-- kaptcha -->
  130. <dependency>
  131. <groupId>pro.fessional</groupId>
  132. <artifactId>kaptcha</artifactId>
  133. <version>${kaptcha.version}</version>
  134. </dependency>
  135. <!-- JOB-->
  136. <dependency>
  137. <groupId>jp.yamoto</groupId>
  138. <artifactId>farm-quartz</artifactId>
  139. <version>${farm.version}</version>
  140. </dependency>
  141. <!-- Farm CRM Biz-->
  142. <dependency>
  143. <groupId>jp.yamoto</groupId>
  144. <artifactId>farm-crm-biz</artifactId>
  145. <version>${farm.version}</version>
  146. </dependency>
  147. <!-- Farm Sankin Biz-->
  148. <dependency>
  149. <groupId>jp.yamoto</groupId>
  150. <artifactId>farm-sankin-biz</artifactId>
  151. <version>${farm.version}</version>
  152. </dependency>
  153. <!-- Common-->
  154. <dependency>
  155. <groupId>jp.yamoto</groupId>
  156. <artifactId>farm-common</artifactId>
  157. <version>${farm.version}</version>
  158. </dependency>
  159. <!-- Common biz-->
  160. <dependency>
  161. <groupId>jp.yamoto</groupId>
  162. <artifactId>farm-common-biz</artifactId>
  163. <version>${farm.version}</version>
  164. </dependency>
  165. </dependencies>
  166. </dependencyManagement>
  167. <modules>
  168. <module>farm-crm</module>
  169. <module>farm-crm-biz</module>
  170. <module>farm-sankin</module>
  171. <module>farm-sankin-biz</module>
  172. <module>farm-common</module>
  173. <module>farm-quartz</module>
  174. <module>farm-common-biz</module>
  175. </modules>
  176. <packaging>pom</packaging>
  177. <build>
  178. <resources>
  179. <resource>
  180. <directory>src/main/resources</directory>
  181. <filtering>true</filtering>
  182. </resource>
  183. </resources>
  184. <plugins>
  185. <plugin>
  186. <groupId>org.apache.maven.plugins</groupId>
  187. <artifactId>maven-compiler-plugin</artifactId>
  188. <version>3.13.0</version>
  189. <configuration>
  190. <parameters>true</parameters>
  191. <source>${java.version}</source>
  192. <target>${java.version}</target>
  193. <encoding>${project.build.sourceEncoding}</encoding>
  194. </configuration>
  195. </plugin>
  196. <plugin>
  197. <groupId>org.springframework.boot</groupId>
  198. <artifactId>spring-boot-maven-plugin</artifactId>
  199. <version>3.3.0</version>
  200. </plugin>
  201. </plugins>
  202. </build>
  203. <profiles>
  204. <profile>
  205. <id>dev</id>
  206. <properties>
  207. <profileActive>dev</profileActive>
  208. </properties>
  209. <activation>
  210. <activeByDefault>true</activeByDefault>
  211. </activation>
  212. </profile>
  213. <profile>
  214. <id>test</id>
  215. <properties>
  216. <profileActive>test</profileActive>
  217. </properties>
  218. </profile>
  219. <profile>
  220. <id>stg1</id>
  221. <properties>
  222. <profileActive>stg1</profileActive>
  223. </properties>
  224. </profile>
  225. <profile>
  226. <id>stg2</id>
  227. <properties>
  228. <profileActive>stg2</profileActive>
  229. </properties>
  230. </profile>
  231. <profile>
  232. <id>prod</id>
  233. <properties>
  234. <profileActive>prod</profileActive>
  235. </properties>
  236. </profile>
  237. </profiles>
  238. <repositories>
  239. <repository>
  240. <id>public</id>
  241. <name>Maven Central repository</name>
  242. <url>https://repo1.maven.org/maven2</url>
  243. <releases>
  244. <enabled>true</enabled>
  245. </releases>
  246. </repository>
  247. </repositories>
  248. <pluginRepositories>
  249. <pluginRepository>
  250. <id>public</id>
  251. <name>Maven Central repository</name>
  252. <url>https://repo1.maven.org/maven2</url>
  253. <releases>
  254. <enabled>true</enabled>
  255. </releases>
  256. <snapshots>
  257. <enabled>false</enabled>
  258. </snapshots>
  259. </pluginRepository>
  260. </pluginRepositories>
  261. </project>