pom.xml 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.3.2.RELEASE</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.xiaoniu.niucai</groupId>
  12. <artifactId>task</artifactId>
  13. <version>0.0.1</version>
  14. <name>niucai-task</name>
  15. <description>Task of niucai</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>org.springframework.boot</groupId>
  22. <artifactId>spring-boot-starter-web</artifactId>
  23. </dependency>
  24. <dependency>
  25. <groupId>mysql</groupId>
  26. <artifactId>mysql-connector-java</artifactId>
  27. <scope>runtime</scope>
  28. </dependency>
  29. <dependency>
  30. <groupId>org.projectlombok</groupId>
  31. <artifactId>lombok</artifactId>
  32. <optional>true</optional>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-test</artifactId>
  37. <scope>test</scope>
  38. <exclusions>
  39. <exclusion>
  40. <groupId>org.junit.vintage</groupId>
  41. <artifactId>junit-vintage-engine</artifactId>
  42. </exclusion>
  43. </exclusions>
  44. </dependency>
  45. <!-- mybatis-plus -->
  46. <dependency>
  47. <groupId>com.baomidou</groupId>
  48. <artifactId>mybatis-plus-boot-starter</artifactId>
  49. <version>3.4.0</version>
  50. </dependency>
  51. </dependencies>
  52. <build>
  53. <plugins>
  54. <plugin>
  55. <groupId>org.springframework.boot</groupId>
  56. <artifactId>spring-boot-maven-plugin</artifactId>
  57. </plugin>
  58. </plugins>
  59. <!-- 打包的时候放开 -->
  60. <resources>
  61. <resource>
  62. <directory>src/main/resources</directory>
  63. <filtering>true</filtering>
  64. <excludes>
  65. <exclude>application.yml</exclude>
  66. </excludes>
  67. </resource>
  68. <resource>
  69. <directory>src/main/resources</directory>
  70. <filtering>true</filtering>
  71. <includes>
  72. <include>application.yml</include>
  73. </includes>
  74. <targetPath>${project.build.directory}/config</targetPath>
  75. </resource>
  76. </resources>
  77. </build>
  78. <repositories>
  79. <repository>
  80. <id>spring-milestones</id>
  81. <name>Spring Milestones</name>
  82. <url>https://repo.spring.io/milestone</url>
  83. </repository>
  84. <repository>
  85. <id>spring-snapshots</id>
  86. <name>Spring Snapshots</name>
  87. <url>https://repo.spring.io/snapshot</url>
  88. <snapshots>
  89. <enabled>true</enabled>
  90. </snapshots>
  91. </repository>
  92. </repositories>
  93. <pluginRepositories>
  94. <pluginRepository>
  95. <id>spring-milestones</id>
  96. <name>Spring Milestones</name>
  97. <url>https://repo.spring.io/milestone</url>
  98. </pluginRepository>
  99. <pluginRepository>
  100. <id>spring-snapshots</id>
  101. <name>Spring Snapshots</name>
  102. <url>https://repo.spring.io/snapshot</url>
  103. <snapshots>
  104. <enabled>true</enabled>
  105. </snapshots>
  106. </pluginRepository>
  107. </pluginRepositories>
  108. </project>