pom.xml 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  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>
  19. true</skipTests>
  20. <!-- 指定java的版本 -->
  21. <java.version>1.8</java.version>
  22. <!-- 文件拷贝时的编码 -->
  23. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  24. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  25. <!-- 指定maven-compiler-plugin的配置属性开始 -->
  26. <!-- 编译时的编码 -->
  27. <maven.compiler.encoding>
  28. UTF-8</maven.compiler.encoding>
  29. <!-- 指定编译的版本 -->
  30. <maven.compiler.source>1.8</maven.compiler.source>
  31. <maven.compiler.target>1.8</maven.compiler.target>
  32. <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>
  33. <!-- 指定maven-compiler-plugin的配置属性结束 -->
  34. </properties>
  35. <dependencies>
  36. <!-- poi -->
  37. <dependency>
  38. <groupId>org.apache.poi</groupId>
  39. <artifactId>poi</artifactId>
  40. <version>5.2.3</version>
  41. </dependency>
  42. <!-- poi 2007 -->
  43. <dependency>
  44. <groupId>org.apache.poi</groupId>
  45. <artifactId>poi-ooxml</artifactId>
  46. <version>5.2.3</version>
  47. </dependency>
  48. <!-- commons-csv -->
  49. <dependency>
  50. <groupId>org.apache.commons</groupId>
  51. <artifactId>commons-csv</artifactId>
  52. <version>1.10.0</version>
  53. </dependency>
  54. <!-- mybatis-spring-boot-starter -->
  55. <dependency>
  56. <groupId>org.mybatis.spring.boot</groupId>
  57. <artifactId>mybatis-spring-boot-starter</artifactId>
  58. <version>2.3.0</version>
  59. </dependency>
  60. <!-- postgresql驱动,版本由spring-boot-parent指定 -->
  61. <dependency>
  62. <groupId>org.postgresql</groupId>
  63. <artifactId>postgresql</artifactId>
  64. </dependency>
  65. <!-- starter-jdbc -->
  66. <dependency>
  67. <groupId>org.springframework.boot</groupId>
  68. <artifactId>spring-boot-starter-jdbc</artifactId>
  69. </dependency>
  70. <!--starter-web-->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-web</artifactId>
  74. </dependency>
  75. <!--lombok-->
  76. <dependency>
  77. <groupId>org.projectlombok</groupId>
  78. <artifactId>lombok</artifactId>
  79. <scope>provided</scope>
  80. </dependency>
  81. <!-- springboot-test -->
  82. <dependency>
  83. <groupId>org.springframework.boot</groupId>
  84. <artifactId>spring-boot-starter-test</artifactId>
  85. <scope>test</scope>
  86. </dependency>
  87. </dependencies>
  88. <build>
  89. <plugins>
  90. <plugin>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-maven-plugin</artifactId>
  93. <version>2.6.14</version>
  94. <executions>
  95. <execution>
  96. <goals>
  97. <goal>repackage</goal>
  98. </goals>
  99. </execution>
  100. </executions>
  101. <configuration>
  102. <classifier>exec</classifier>
  103. </configuration>
  104. </plugin>
  105. </plugins>
  106. </build>
  107. </project>