pom.xml 4.5 KB

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