pom.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <groupId>com.nokia</groupId>
  7. <artifactId>tsl-data</artifactId>
  8. <version>2.3</version>
  9. <parent>
  10. <groupId>org.springframework.boot</groupId>
  11. <artifactId>spring-boot-parent</artifactId>
  12. <version>2.7.18</version>
  13. <relativePath />
  14. </parent>
  15. <properties>
  16. <!-- 跳过测试代码 -->
  17. <skipTests>true</skipTests>
  18. <!-- 指定java的版本 -->
  19. <java.version>1.8</java.version>
  20. <!-- 文件拷贝时的编码 -->
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  23. <!-- 指定maven-compiler-plugin的配置属性开始 -->
  24. <!-- 编译时的编码 -->
  25. <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
  26. <!-- 指定编译的版本 -->
  27. <maven.compiler.source>8</maven.compiler.source>
  28. <maven.compiler.target>8</maven.compiler.target>
  29. <!-- 指定maven-compiler-plugin的配置属性结束 -->
  30. </properties>
  31. <dependencies>
  32. <!-- poi -->
  33. <dependency>
  34. <groupId>org.apache.poi</groupId>
  35. <artifactId>poi</artifactId>
  36. <version>5.2.3</version>
  37. </dependency>
  38. <!-- poi 2007 -->
  39. <dependency>
  40. <groupId>org.apache.poi</groupId>
  41. <artifactId>poi-ooxml</artifactId>
  42. <version>5.2.3</version>
  43. </dependency>
  44. <!-- commons-csv -->
  45. <dependency>
  46. <groupId>org.apache.commons</groupId>
  47. <artifactId>commons-csv</artifactId>
  48. <version>1.10.0</version>
  49. </dependency>
  50. <!-- fastjson -->
  51. <dependency>
  52. <groupId>com.alibaba</groupId>
  53. <artifactId>fastjson</artifactId>
  54. <version>2.0.40</version>
  55. </dependency>
  56. <!-- postgresql驱动,版本由spring-boot-parent指定 -->
  57. <dependency>
  58. <groupId>org.postgresql</groupId>
  59. <artifactId>postgresql</artifactId>
  60. </dependency>
  61. <!-- mybatis-spring-boot-starter -->
  62. <dependency>
  63. <groupId>org.mybatis.spring.boot</groupId>
  64. <artifactId>mybatis-spring-boot-starter</artifactId>
  65. <version>2.3.0</version>
  66. </dependency>
  67. <!-- spring-boot-starter-jdbc -->
  68. <dependency>
  69. <groupId>org.springframework.boot</groupId>
  70. <artifactId>spring-boot-starter-jdbc</artifactId>
  71. </dependency>
  72. <!-- spring-boot-starter-data-jpa -->
  73. <dependency>
  74. <groupId>org.springframework.boot</groupId>
  75. <artifactId>spring-boot-starter-data-jpa</artifactId>
  76. </dependency>
  77. <!-- spring-boot-starter-web -->
  78. <dependency>
  79. <groupId>org.springframework.boot</groupId>
  80. <artifactId>spring-boot-starter-web</artifactId>
  81. </dependency>
  82. <!-- spring-boot-starter-test -->
  83. <dependency>
  84. <groupId>org.springframework.boot</groupId>
  85. <artifactId>spring-boot-starter-test</artifactId>
  86. <scope>test</scope>
  87. </dependency>
  88. <!--lombok-->
  89. <dependency>
  90. <groupId>org.projectlombok</groupId>
  91. <artifactId>lombok</artifactId>
  92. <scope>provided</scope>
  93. </dependency>
  94. <dependency>
  95. <groupId>com.google.code.findbugs</groupId>
  96. <artifactId>annotations</artifactId>
  97. <version>3.0.1</version>
  98. </dependency>
  99. </dependencies>
  100. <build>
  101. <finalName>tsl-data</finalName>
  102. <plugins>
  103. <plugin>
  104. <groupId>org.springframework.boot</groupId>
  105. <artifactId>spring-boot-maven-plugin</artifactId>
  106. <version>2.6.14</version>
  107. <executions>
  108. <execution>
  109. <goals>
  110. <goal>repackage</goal>
  111. </goals>
  112. </execution>
  113. </executions>
  114. <configuration>
  115. <classifier>exec</classifier>
  116. </configuration>
  117. </plugin>
  118. </plugins>
  119. </build>
  120. </project>