pom.xml 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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 https://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <artifactId>common</artifactId>
  6. <version>0.0.1-SNAPSHOT</version>
  7. <packaging>jar</packaging>
  8. <name>dev-cloud-common</name>
  9. <description>Demo project for Spring Boot</description>
  10. <parent>
  11. <artifactId>parent</artifactId>
  12. <groupId>seecoder.devcloud</groupId>
  13. <version>0.0.1-SNAPSHOT</version>
  14. </parent>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  18. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  19. <spring-boot.version>2.3.4.RELEASE</spring-boot.version>
  20. </properties>
  21. <dependencies>
  22. <dependency>
  23. <groupId>joda-time</groupId>
  24. <artifactId>joda-time</artifactId>
  25. <version>2.9.3</version>
  26. <scope>compile</scope>
  27. </dependency>
  28. <dependency>
  29. <groupId>org.springframework.boot</groupId>
  30. <artifactId>spring-boot-starter-validation</artifactId>
  31. </dependency>
  32. <dependency>
  33. <groupId>org.springframework.boot</groupId>
  34. <artifactId>spring-boot-starter-web</artifactId>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.springframework.boot</groupId>
  38. <artifactId>spring-boot-starter-security</artifactId>
  39. </dependency>
  40. <dependency>
  41. <groupId>org.springframework.boot</groupId>
  42. <artifactId>spring-boot-configuration-processor</artifactId>
  43. <optional>true</optional>
  44. </dependency>
  45. <dependency>
  46. <groupId>org.projectlombok</groupId>
  47. <artifactId>lombok</artifactId>
  48. <optional>true</optional>
  49. </dependency>
  50. <dependency>
  51. <groupId>io.jsonwebtoken</groupId>
  52. <artifactId>jjwt</artifactId>
  53. <version>0.9.0</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>org.apache.commons</groupId>
  57. <artifactId>commons-lang3</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. <exclusions>
  64. <exclusion>
  65. <groupId>org.junit.vintage</groupId>
  66. <artifactId>junit-vintage-engine</artifactId>
  67. </exclusion>
  68. </exclusions>
  69. </dependency>
  70. <dependency>
  71. <groupId>org.slf4j</groupId>
  72. <artifactId>slf4j-api</artifactId>
  73. </dependency>
  74. </dependencies>
  75. <dependencyManagement>
  76. <dependencies>
  77. <dependency>
  78. <groupId>org.springframework.boot</groupId>
  79. <artifactId>spring-boot-dependencies</artifactId>
  80. <version>${spring-boot.version}</version>
  81. <type>pom</type>
  82. <scope>import</scope>
  83. </dependency>
  84. </dependencies>
  85. </dependencyManagement>
  86. <build>
  87. <plugins>
  88. <plugin>
  89. <groupId>org.apache.maven.plugins</groupId>
  90. <artifactId>maven-compiler-plugin</artifactId>
  91. <version>3.8.1</version>
  92. <configuration>
  93. <source>1.8</source>
  94. <target>1.8</target>
  95. <encoding>UTF-8</encoding>
  96. </configuration>
  97. </plugin>
  98. <plugin>
  99. <groupId>org.springframework.boot</groupId>
  100. <artifactId>spring-boot-maven-plugin</artifactId>
  101. <version>2.3.4.RELEASE</version>
  102. <configuration>
  103. <excludes>
  104. <exclude>
  105. <groupId>org.springframework.boot</groupId>
  106. <artifactId>spring-boot-configuration-processor</artifactId>
  107. </exclude>
  108. </excludes>
  109. </configuration>
  110. <executions>
  111. <execution>
  112. <id>repackage</id>
  113. <goals>
  114. <goal>repackage</goal>
  115. </goals>
  116. </execution>
  117. </executions>
  118. </plugin>
  119. </plugins>
  120. </build>
  121. </project>