pom.xml 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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>dingtalk_auto</artifactId>
  14. <version>1.3</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. <!--ssh2 -->
  49. <dependency>
  50. <groupId>com.jcraft</groupId>
  51. <artifactId>jsch</artifactId>
  52. <version>0.1.54</version>
  53. </dependency>
  54. <!-- starter-redis -->
  55. <dependency>
  56. <groupId>org.springframework.boot</groupId>
  57. <artifactId>spring-boot-starter-data-redis</artifactId>
  58. </dependency>
  59. <!--starter-web-->
  60. <dependency>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-starter-web</artifactId>
  63. </dependency>
  64. <!--lombok-->
  65. <dependency>
  66. <groupId>org.projectlombok</groupId>
  67. <artifactId>lombok</artifactId>
  68. <scope>provided</scope>
  69. </dependency>
  70. <!-- springboot-test -->
  71. <dependency>
  72. <groupId>org.springframework.boot</groupId>
  73. <artifactId>spring-boot-starter-test</artifactId>
  74. <scope>test</scope>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <finalName>dingtalk_auto</finalName>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <version>2.6.14</version>
  84. <executions>
  85. <execution>
  86. <goals>
  87. <goal>repackage</goal>
  88. </goals>
  89. </execution>
  90. </executions>
  91. <configuration>
  92. <classifier>exec</classifier>
  93. </configuration>
  94. </plugin>
  95. </plugins>
  96. </build>
  97. </project>