pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  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>com.nokia</groupId>
  8. <artifactId>report_auto</artifactId>
  9. <version>1.0</version>
  10. <relativePath>../pom.xml</relativePath>
  11. </parent>
  12. <groupId>com.nokia</groupId>
  13. <artifactId>tsl_data</artifactId>
  14. <version>1.9</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>1.8</maven.compiler.source>
  29. <maven.compiler.target>1.8</maven.compiler.target>
  30. <maven.compiler.compilerVersion>1.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. <!-- mybatis-spring-boot-starter -->
  53. <dependency>
  54. <groupId>org.mybatis.spring.boot</groupId>
  55. <artifactId>mybatis-spring-boot-starter</artifactId>
  56. <version>2.3.0</version>
  57. </dependency>
  58. <!-- postgresql驱动,版本由spring-boot-parent指定 -->
  59. <dependency>
  60. <groupId>org.postgresql</groupId>
  61. <artifactId>postgresql</artifactId>
  62. </dependency>
  63. <!-- starter-jdbc -->
  64. <dependency>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-starter-jdbc</artifactId>
  67. </dependency>
  68. <!--starter-web-->
  69. <dependency>
  70. <groupId>org.springframework.boot</groupId>
  71. <artifactId>spring-boot-starter-web</artifactId>
  72. </dependency>
  73. <!--lombok-->
  74. <dependency>
  75. <groupId>org.projectlombok</groupId>
  76. <artifactId>lombok</artifactId>
  77. <scope>provided</scope>
  78. </dependency>
  79. <!-- springboot-test -->
  80. <dependency>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-starter-test</artifactId>
  83. <scope>test</scope>
  84. </dependency>
  85. </dependencies>
  86. <build>
  87. <finalName>tsl_data</finalName>
  88. <plugins>
  89. <plugin>
  90. <groupId>org.springframework.boot</groupId>
  91. <artifactId>spring-boot-maven-plugin</artifactId>
  92. <version>2.6.14</version>
  93. <executions>
  94. <execution>
  95. <goals>
  96. <goal>repackage</goal>
  97. </goals>
  98. </execution>
  99. </executions>
  100. <configuration>
  101. <classifier>exec</classifier>
  102. </configuration>
  103. </plugin>
  104. </plugins>
  105. </build>
  106. </project>