pom.xml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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-jiuyousimu</artifactId>
  12. <description>久有私募</description>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. </properties>
  17. <dependencies>
  18. <!-- 核心模块-->
  19. <dependency>
  20. <groupId>com.malk</groupId>
  21. <artifactId>mjava</artifactId>
  22. <version>${mjava.version}</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>org.xerial</groupId>
  26. <artifactId>sqlite-jdbc</artifactId>
  27. <version>3.41.2.1</version>
  28. </dependency>
  29. <dependency>
  30. <groupId>com.example</groupId>
  31. <artifactId>k3cloud</artifactId>
  32. <version>8.0.6</version>
  33. </dependency>
  34. <dependency>
  35. <groupId>com.example</groupId>
  36. <artifactId>gson</artifactId>
  37. <version>2.8.0</version>
  38. </dependency>
  39. </dependencies>
  40. <build>
  41. <plugins>
  42. <plugin>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-maven-plugin</artifactId>
  45. <version>2.1.1.RELEASE</version>
  46. <configuration>
  47. <includeSystemScope>true</includeSystemScope>
  48. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  49. <fork>false</fork>
  50. <!-- 避免中文乱码 -->
  51. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  52. </configuration>
  53. <!-- 允许生成可运行jar -->
  54. <executions>
  55. <execution>
  56. <goals>
  57. <goal>repackage</goal>
  58. </goals>
  59. </execution>
  60. </executions>
  61. </plugin>
  62. </plugins>
  63. <finalName>${project.artifactId}</finalName>
  64. </build>
  65. </project>