pom.xml 1.9 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. <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-hangshi</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. </dependencies>
  25. <build>
  26. <plugins>
  27. <plugin>
  28. <groupId>org.springframework.boot</groupId>
  29. <artifactId>spring-boot-maven-plugin</artifactId>
  30. <version>2.1.1.RELEASE</version>
  31. <configuration>
  32. <includeSystemScope>true</includeSystemScope>
  33. <!-- 如果没有该配置,devtools不会生效: 打包时关闭 -->
  34. <fork>false</fork>
  35. <!-- 避免中文乱码 -->
  36. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  37. </configuration>
  38. <!-- 允许生成可运行jar -->
  39. <executions>
  40. <execution>
  41. <goals>
  42. <goal>repackage</goal>
  43. </goals>
  44. </execution>
  45. </executions>
  46. </plugin>
  47. </plugins>
  48. <finalName>${project.artifactId}</finalName>
  49. </build>
  50. </project>