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.0</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>
  27. UTF-8</maven.compiler.encoding>
  28. <!-- 指定编译的版本 -->
  29. <maven.compiler.source>1.8</maven.compiler.source>
  30. <maven.compiler.target>1.8</maven.compiler.target>
  31. <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
  32. <!-- 指定maven-compiler-plugin的配置属性结束 -->
  33. </properties>
  34. <dependencies>
  35. <!-- poi -->
  36. <dependency>
  37. <groupId>org.apache.poi</groupId>
  38. <artifactId>poi</artifactId>
  39. <version>5.2.3</version>
  40. </dependency>
  41. <!-- poi 2007 -->
  42. <dependency>
  43. <groupId>org.apache.poi</groupId>
  44. <artifactId>poi-ooxml</artifactId>
  45. <version>5.2.3</version>
  46. </dependency>
  47. <!-- commons-csv -->
  48. <dependency>
  49. <groupId>org.apache.commons</groupId>
  50. <artifactId>commons-csv</artifactId>
  51. <version>1.10.0</version>
  52. </dependency>
  53. <!-- mybatis-spring-boot-starter -->
  54. <dependency>
  55. <groupId>org.mybatis.spring.boot</groupId>
  56. <artifactId>mybatis-spring-boot-starter</artifactId>
  57. <version>2.3.0</version>
  58. </dependency>
  59. <!-- postgresql驱动,版本由spring-boot-parent指定 -->
  60. <dependency>
  61. <groupId>org.postgresql</groupId>
  62. <artifactId>postgresql</artifactId>
  63. </dependency>
  64. <!-- starter-jdbc -->
  65. <dependency>
  66. <groupId>org.springframework.boot</groupId>
  67. <artifactId>spring-boot-starter-jdbc</artifactId>
  68. </dependency>
  69. <!--starter-web-->
  70. <dependency>
  71. <groupId>org.springframework.boot</groupId>
  72. <artifactId>spring-boot-starter-web</artifactId>
  73. </dependency>
  74. <!--lombok-->
  75. <dependency>
  76. <groupId>org.projectlombok</groupId>
  77. <artifactId>lombok</artifactId>
  78. <scope>provided</scope>
  79. </dependency>
  80. <!-- springboot-test -->
  81. <dependency>
  82. <groupId>org.springframework.boot</groupId>
  83. <artifactId>spring-boot-starter-test</artifactId>
  84. <scope>test</scope>
  85. </dependency>
  86. </dependencies>
  87. <build>
  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>