pom.xml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. <groupId>com.qmth.sop.server</groupId>
  6. <artifactId>sop-server</artifactId>
  7. <version>1.0.0.1</version>
  8. <packaging>jar</packaging>
  9. <parent>
  10. <groupId>com.qmth.sop.service</groupId>
  11. <artifactId>sop-service</artifactId>
  12. <version>1.0.0.1</version>
  13. </parent>
  14. <dependencies>
  15. <dependency>
  16. <groupId>com.qmth.sop.business</groupId>
  17. <artifactId>sop-business</artifactId>
  18. <exclusions>
  19. <exclusion>
  20. <artifactId>spring-beans</artifactId>
  21. <groupId>org.springframework</groupId>
  22. </exclusion>
  23. </exclusions>
  24. </dependency>
  25. <dependency>
  26. <groupId>org.springframework.boot</groupId>
  27. <artifactId>spring-boot-starter-web</artifactId>
  28. <version>${spring-boot.version}</version>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.springframework.boot</groupId>
  35. <artifactId>spring-boot-maven-plugin</artifactId>
  36. <version>2.6.2</version>
  37. <configuration>
  38. <includeSystemScope>true</includeSystemScope>
  39. </configuration>
  40. <executions>
  41. <execution>
  42. <goals>
  43. <goal>repackage</goal>
  44. </goals>
  45. </execution>
  46. </executions>
  47. </plugin>
  48. <plugin>
  49. <groupId>com.spotify</groupId>
  50. <artifactId>dockerfile-maven-plugin</artifactId>
  51. <version>1.4.12</version>
  52. <configuration>
  53. <repository>registry.cn-shenzhen.aliyuncs.com/sop_server</repository>
  54. <tag>${project.version}</tag>
  55. <contextDirectory>${project.baseDir}</contextDirectory>
  56. <useMavenSettingsForAuth>true</useMavenSettingsForAuth>
  57. <pullNewerImage>true</pullNewerImage>
  58. <buildArgs>
  59. <JAR_FILE>target/${project.build.finalName}.jar</JAR_FILE>
  60. </buildArgs>
  61. </configuration>
  62. </plugin>
  63. </plugins>
  64. </build>
  65. </project>