pom.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302
  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.15</springdoc.version>
  35. <commons-csv.version>1.10.0</commons-csv.version>
  36. </properties>
  37. <!-- dependencies -->
  38. <dependencyManagement>
  39. <dependencies>
  40. <!-- SpringBoot dependencies-->
  41. <dependency>
  42. <groupId>org.springframework.boot</groupId>
  43. <artifactId>spring-boot-dependencies</artifactId>
  44. <version>3.5.8</version>
  45. <type>pom</type>
  46. <scope>import</scope>
  47. </dependency>
  48. <!-- Database connection pool -->
  49. <dependency>
  50. <groupId>com.alibaba</groupId>
  51. <artifactId>druid-spring-boot-3-starter</artifactId>
  52. <version>${druid.version}</version>
  53. </dependency>
  54. <!-- Analyze client operating systems, browsers, etc -->
  55. <dependency>
  56. <groupId>eu.bitwalker</groupId>
  57. <artifactId>UserAgentUtils</artifactId>
  58. <version>${bitwalker.version}</version>
  59. </dependency>
  60. <!-- pagehelper -->
  61. <dependency>
  62. <groupId>com.github.pagehelper</groupId>
  63. <artifactId>pagehelper-spring-boot-starter</artifactId>
  64. <version>${pagehelper.boot.version}</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>org.mybatis.spring.boot</groupId>
  68. <artifactId>mybatis-spring-boot-starter</artifactId>
  69. <version>${mybatis-spring-boot.version}</version>
  70. </dependency>
  71. <!-- Postgresql -->
  72. <dependency>
  73. <groupId>org.postgresql</groupId>
  74. <artifactId>postgresql</artifactId>
  75. <version>${postgresql.version}</version>
  76. <scope>runtime</scope>
  77. </dependency>
  78. <dependency>
  79. <groupId>javax.xml.bind</groupId>
  80. <artifactId>jaxb-api</artifactId>
  81. <version>${jaxb-api.version}</version>
  82. </dependency>
  83. <dependency>
  84. <groupId>jakarta.servlet</groupId>
  85. <artifactId>jakarta.servlet-api</artifactId>
  86. <version>${jakarta.version}</version>
  87. </dependency>
  88. <!-- System Info -->
  89. <dependency>
  90. <groupId>com.github.oshi</groupId>
  91. <artifactId>oshi-core</artifactId>
  92. <version>${oshi.version}</version>
  93. </dependency>
  94. <!-- spring-doc -->
  95. <dependency>
  96. <groupId>org.springdoc</groupId>
  97. <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
  98. <version>${springdoc.version}</version>
  99. </dependency>
  100. <!-- io tools -->
  101. <dependency>
  102. <groupId>commons-io</groupId>
  103. <artifactId>commons-io</artifactId>
  104. <version>${commons.io.version}</version>
  105. </dependency>
  106. <!-- excel tools -->
  107. <dependency>
  108. <groupId>org.apache.poi</groupId>
  109. <artifactId>poi-ooxml</artifactId>
  110. <version>${poi.version}</version>
  111. </dependency>
  112. <!-- velocity templete -->
  113. <dependency>
  114. <groupId>org.apache.velocity</groupId>
  115. <artifactId>velocity-engine-core</artifactId>
  116. <version>${velocity.version}</version>
  117. </dependency>
  118. <!--alibaba JSON -->
  119. <dependency>
  120. <groupId>com.alibaba.fastjson2</groupId>
  121. <artifactId>fastjson2</artifactId>
  122. <version>${fastjson.version}</version>
  123. </dependency>
  124. <!-- Token-->
  125. <dependency>
  126. <groupId>io.jsonwebtoken</groupId>
  127. <artifactId>jjwt</artifactId>
  128. <version>${jwt.version}</version>
  129. </dependency>
  130. <!-- kaptcha -->
  131. <dependency>
  132. <groupId>pro.fessional</groupId>
  133. <artifactId>kaptcha</artifactId>
  134. <version>${kaptcha.version}</version>
  135. </dependency>
  136. <dependency>
  137. <groupId>org.apache.commons</groupId>
  138. <artifactId>commons-csv</artifactId>
  139. <version>${commons-csv.version}</version>
  140. </dependency>
  141. <!-- JOB-->
  142. <dependency>
  143. <groupId>jp.yamoto</groupId>
  144. <artifactId>farm-quartz</artifactId>
  145. <version>${farm.version}</version>
  146. </dependency>
  147. <!-- Farm CRM Biz-->
  148. <dependency>
  149. <groupId>jp.yamoto</groupId>
  150. <artifactId>farm-crm-biz</artifactId>
  151. <version>${farm.version}</version>
  152. </dependency>
  153. <!-- Farm Sankin Biz-->
  154. <dependency>
  155. <groupId>jp.yamoto</groupId>
  156. <artifactId>farm-sankin-biz</artifactId>
  157. <version>${farm.version}</version>
  158. </dependency>
  159. <!-- Common-->
  160. <dependency>
  161. <groupId>jp.yamoto</groupId>
  162. <artifactId>farm-common</artifactId>
  163. <version>${farm.version}</version>
  164. </dependency>
  165. <!-- Common biz-->
  166. <dependency>
  167. <groupId>jp.yamoto</groupId>
  168. <artifactId>farm-common-biz</artifactId>
  169. <version>${farm.version}</version>
  170. </dependency>
  171. </dependencies>
  172. </dependencyManagement>
  173. <modules>
  174. <module>farm-crm</module>
  175. <module>farm-crm-biz</module>
  176. <module>farm-sankin</module>
  177. <module>farm-sankin-biz</module>
  178. <module>farm-common</module>
  179. <module>farm-quartz</module>
  180. <module>farm-common-biz</module>
  181. </modules>
  182. <packaging>pom</packaging>
  183. <build>
  184. <resources>
  185. <resource>
  186. <directory>src/main/resources</directory>
  187. <filtering>true</filtering>
  188. </resource>
  189. </resources>
  190. <plugins>
  191. <plugin>
  192. <groupId>org.apache.maven.plugins</groupId>
  193. <artifactId>maven-compiler-plugin</artifactId>
  194. <version>3.13.0</version>
  195. <configuration>
  196. <parameters>true</parameters>
  197. <source>${java.version}</source>
  198. <target>${java.version}</target>
  199. <encoding>${project.build.sourceEncoding}</encoding>
  200. </configuration>
  201. </plugin>
  202. <plugin>
  203. <groupId>org.springframework.boot</groupId>
  204. <artifactId>spring-boot-maven-plugin</artifactId>
  205. <version>3.3.0</version>
  206. </plugin>
  207. </plugins>
  208. </build>
  209. <profiles>
  210. <profile>
  211. <id>dev</id>
  212. <properties>
  213. <profileActive>dev</profileActive>
  214. </properties>
  215. <activation>
  216. <activeByDefault>true</activeByDefault>
  217. </activation>
  218. </profile>
  219. <profile>
  220. <id>test</id>
  221. <properties>
  222. <profileActive>test</profileActive>
  223. </properties>
  224. </profile>
  225. <profile>
  226. <id>stg1</id>
  227. <properties>
  228. <profileActive>stg1</profileActive>
  229. </properties>
  230. </profile>
  231. <profile>
  232. <id>stg2</id>
  233. <properties>
  234. <profileActive>stg2</profileActive>
  235. </properties>
  236. </profile>
  237. <profile>
  238. <id>prod</id>
  239. <properties>
  240. <profileActive>prod</profileActive>
  241. </properties>
  242. </profile>
  243. </profiles>
  244. <repositories>
  245. <repository>
  246. <id>public</id>
  247. <name>Maven Central repository</name>
  248. <url>https://repo1.maven.org/maven2</url>
  249. <releases>
  250. <enabled>true</enabled>
  251. </releases>
  252. </repository>
  253. </repositories>
  254. <pluginRepositories>
  255. <pluginRepository>
  256. <id>public</id>
  257. <name>Maven Central repository</name>
  258. <url>https://repo1.maven.org/maven2</url>
  259. <releases>
  260. <enabled>true</enabled>
  261. </releases>
  262. <snapshots>
  263. <enabled>false</enabled>
  264. </snapshots>
  265. </pluginRepository>
  266. </pluginRepositories>
  267. </project>