pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. <parent>
  6. <artifactId>java-mcli</artifactId>
  7. <groupId>com.malk</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mjava-rjk</artifactId>
  12. <description>然健康项目</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. <sqlserver-jdbc.version>6.4.0.jre8</sqlserver-jdbc.version>
  17. </properties>
  18. <dependencies>
  19. <!-- 核心模块-->
  20. <dependency>
  21. <groupId>com.malk</groupId>
  22. <artifactId>mjava</artifactId>
  23. <version>${mjava.version}</version>
  24. </dependency>
  25. <!-- sqlserver依赖 -->
  26. <dependency>
  27. <groupId>com.microsoft.sqlserver</groupId>
  28. <artifactId>mssql-jdbc</artifactId>
  29. <scope>runtime</scope>
  30. <version>${sqlserver-jdbc.version}</version>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.jetbrains</groupId>
  34. <artifactId>annotations</artifactId>
  35. <version>RELEASE</version>
  36. <scope>compile</scope>
  37. </dependency>
  38. <dependency>
  39. <groupId>com.googlecode.json-simple</groupId>
  40. <artifactId>json-simple</artifactId>
  41. <version>1.1</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.squareup.okhttp3</groupId>
  45. <artifactId>okhttp</artifactId>
  46. <version>4.4.1</version>
  47. </dependency>
  48. <dependency>
  49. <groupId>org.example</groupId>
  50. <artifactId>apigwclient</artifactId>
  51. <version>0.1.5</version>
  52. <scope>system</scope>
  53. <systemPath> ${project.basedir}/lib/apigwclient-0.1.5.jar</systemPath>
  54. </dependency>
  55. <dependency>
  56. <groupId>com.google.code.gson</groupId>
  57. <artifactId>gson</artifactId>
  58. <version>2.8.9</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>org.json</groupId>
  62. <artifactId>json</artifactId>
  63. <version>20240303</version>
  64. </dependency>
  65. </dependencies>
  66. <build>
  67. <plugins>
  68. <plugin>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-maven-plugin</artifactId>
  71. <!-- <version>2.1.1.RELEASE</version>-->
  72. <version>2.7.0</version>
  73. <configuration>
  74. <includeSystemScope>true</includeSystemScope>
  75. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  76. <fork>false</fork>
  77. <!-- 避免中文乱码 -->
  78. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  79. </configuration>
  80. <!-- 允许生成可运行jar -->
  81. <executions>
  82. <execution>
  83. <goals>
  84. <goal>repackage</goal>
  85. </goals>
  86. </execution>
  87. </executions>
  88. </plugin>
  89. </plugins>
  90. <finalName>${project.artifactId}</finalName>
  91. </build>
  92. </project>