pom.xml 3.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <parent>
  5. <groupId>com.tencent.tsf</groupId>
  6. <artifactId>spring-cloud-tsf-parent</artifactId>
  7. <version>1.23.0-Greenwich-RELEASE</version>
  8. <relativePath/>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>task-schedule-demo</artifactId>
  12. <name>Task-Schedule-demo</name>
  13. <dependencies>
  14. <dependency>
  15. <groupId>junit</groupId>
  16. <artifactId>junit</artifactId>
  17. <scope>test</scope>
  18. </dependency>
  19. <!-- <dependency>
  20. <groupId>com.tencent.tsf</groupId>
  21. <artifactId>spring-cloud-tsf-consul-discovery</artifactId>
  22. </dependency>-->
  23. <!-- spring-cloud-starter -->
  24. <dependency>
  25. <groupId>org.springframework.cloud</groupId>
  26. <artifactId>spring-cloud-starter</artifactId>
  27. </dependency>
  28. <!-- spring-boot-starter -->
  29. <dependency>
  30. <groupId>org.springframework.boot</groupId>
  31. <artifactId>spring-boot-starter-web</artifactId>
  32. </dependency>
  33. <!-- spring-boot-starter-actuator -->
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-actuator</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.apache.commons</groupId>
  40. <artifactId>commons-lang3</artifactId>
  41. <version>3.7</version>
  42. </dependency>
  43. <dependency>
  44. <groupId>org.springframework.boot</groupId>
  45. <artifactId>spring-boot-configuration-processor</artifactId>
  46. <optional>true</optional>
  47. </dependency>
  48. <!--<dependency>
  49. <groupId>com.tencent.tsf</groupId>
  50. <artifactId>spring-cloud-tsf-schedule</artifactId>
  51. </dependency>-->
  52. <dependency>
  53. <groupId>org.springframework.boot</groupId>
  54. <artifactId>spring-boot-starter-logging</artifactId>
  55. </dependency>
  56. <dependency>
  57. <groupId>com.tencent.cloud</groupId>
  58. <artifactId>tct-spring-boot-starter</artifactId>
  59. <version>1.2.0</version>
  60. </dependency>
  61. </dependencies>
  62. <build>
  63. <plugins>
  64. <plugin>
  65. <groupId>org.springframework.boot</groupId>
  66. <artifactId>spring-boot-maven-plugin</artifactId>
  67. <configuration>
  68. <mainClass>com.tencent.cloud.task.TaskExampleApplication</mainClass>
  69. <layout>JAR</layout>
  70. </configuration>
  71. </plugin>
  72. <plugin>
  73. <artifactId>maven-compiler-plugin</artifactId>
  74. <version>3.7.0</version>
  75. <configuration>
  76. <source>1.8</source>
  77. <target>1.8</target>
  78. <encoding>UTF-8</encoding>
  79. <compilerArgument>-Xlint:none</compilerArgument>
  80. </configuration>
  81. </plugin>
  82. </plugins>
  83. </build>
  84. </project>