pom.xml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  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. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.4.4</version>
  9. <relativePath/> <!-- lookup parent from repository -->
  10. </parent>
  11. <groupId>com.mokasz</groupId>
  12. <artifactId>image-pool</artifactId>
  13. <version>2.0.0</version>
  14. <name>image-pool</name>
  15. <description>Image Pool Matching Service</description>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <dependencies>
  20. <dependency>
  21. <groupId>commons-io</groupId>
  22. <artifactId>commons-io</artifactId>
  23. <version>2.6</version>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.apache.httpcomponents</groupId>
  27. <artifactId>httpclient</artifactId>
  28. <version>4.5.13</version>
  29. </dependency>
  30. <dependency>
  31. <groupId>org.springframework.boot</groupId>
  32. <artifactId>spring-boot-starter-jdbc</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>org.springframework.boot</groupId>
  36. <artifactId>spring-boot-starter-web</artifactId>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.projectlombok</groupId>
  40. <artifactId>lombok</artifactId>
  41. <version>1.18.20</version>
  42. <scope>provided</scope>
  43. </dependency>
  44. <dependency>
  45. <groupId>org.springframework.boot</groupId>
  46. <artifactId>spring-boot-devtools</artifactId>
  47. <version>2.4.3</version>
  48. </dependency>
  49. <dependency>
  50. <groupId>org.postgresql</groupId>
  51. <artifactId>postgresql</artifactId>
  52. <scope>runtime</scope>
  53. </dependency>
  54. <dependency>
  55. <groupId>org.bytedeco</groupId>
  56. <artifactId>opencv-platform</artifactId>
  57. <version>4.5.1-1.5.5</version>
  58. </dependency>
  59. <dependency>
  60. <groupId>org.springframework.boot</groupId>
  61. <artifactId>spring-boot-starter-test</artifactId>
  62. <scope>test</scope>
  63. </dependency>
  64. </dependencies>
  65. <profiles>
  66. <profile>
  67. <id>dev</id>
  68. <activation>
  69. <activeByDefault>true</activeByDefault>
  70. </activation>
  71. <properties>
  72. <spring.profiles.active>dev</spring.profiles.active>
  73. </properties>
  74. </profile>
  75. <profile>
  76. <id>prod</id>
  77. <properties>
  78. <spring.profiles.active>prod</spring.profiles.active>
  79. </properties>
  80. </profile>
  81. </profiles>
  82. <build>
  83. <plugins>
  84. <plugin>
  85. <groupId>org.springframework.boot</groupId>
  86. <artifactId>spring-boot-maven-plugin</artifactId>
  87. <configuration>
  88. <fork>true</fork><!-- 热部署 -->
  89. </configuration>
  90. <executions>
  91. <execution>
  92. <id>build-info</id>
  93. <goals>
  94. <goal>build-info</goal>
  95. </goals>
  96. </execution>
  97. </executions>
  98. </plugin>
  99. <plugin>
  100. <groupId>org.apache.maven.plugins</groupId>
  101. <artifactId>maven-surefire-plugin</artifactId>
  102. <version>2.22.2</version>
  103. <configuration>
  104. <skipTests>true</skipTests>
  105. </configuration>
  106. </plugin>
  107. </plugins>
  108. <resources>
  109. <resource>
  110. <directory>src/main/resources</directory>
  111. <filtering>true</filtering>
  112. </resource>
  113. </resources>
  114. </build>
  115. </project>