pom.xml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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>mjava-third</artifactId>
  7. <groupId>com.malk</groupId>
  8. <version>1.0-SNAPSHOT</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>mjava-test</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>0.0.3</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. </dependency>
  29. </dependencies>
  30. <build>
  31. <plugins>
  32. <plugin>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-maven-plugin</artifactId>
  35. <version>2.1.1.RELEASE</version>
  36. <configuration>
  37. <includeSystemScope>true</includeSystemScope>
  38. <!-- 避免中文乱码 -->
  39. <jvmArguments>-Dfile.encoding=UTF-8</jvmArguments>
  40. </configuration>
  41. <!-- 允许生成可运行jar -->
  42. <executions>
  43. <execution>
  44. <goals>
  45. <goal>repackage</goal>
  46. </goals>
  47. </execution>
  48. </executions>
  49. </plugin>
  50. </plugins>
  51. <finalName>${project.artifactId}</finalName>
  52. </build>
  53. </project>