pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. <parent>
  7. <groupId>com.malk</groupId>
  8. <artifactId>java-mcli</artifactId>
  9. <version>1.0-SNAPSHOT</version>
  10. </parent>
  11. <groupId>com.malk.kaiyue_nt</groupId>
  12. <artifactId>mjava-kaiyue_nt</artifactId>
  13. <properties>
  14. <maven.compiler.source>8</maven.compiler.source>
  15. <maven.compiler.target>8</maven.compiler.target>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. </properties>
  18. <dependencies>
  19. <dependency>
  20. <groupId>com.malk</groupId>
  21. <artifactId>mjava</artifactId>
  22. <version>0.0.3</version>
  23. <scope>compile</scope>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <plugins>
  28. <plugin>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-maven-plugin</artifactId>
  31. <version>2.1.1.RELEASE</version>
  32. <configuration>
  33. <includeSystemScope>true</includeSystemScope>
  34. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  35. <fork>false</fork>
  36. <!-- 避免中文乱码 -->
  37. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  38. </configuration>
  39. <!-- 允许生成可运行jar -->
  40. <executions>
  41. <execution>
  42. <goals>
  43. <goal>repackage</goal>
  44. </goals>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. </plugins>
  49. <finalName>${project.artifactId}</finalName>
  50. </build>
  51. </project>