You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

125 lines
3.6 KiB

5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
  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. <modelVersion>4.0.0</modelVersion>
  5. <groupId>com.xm</groupId>
  6. <artifactId>xm-backend</artifactId>
  7. <packaging>pom</packaging>
  8. <name>唛盟云-项目管理系统</name>
  9. <description>唛盟云-项目管理系统</description>
  10. <parent>
  11. <groupId>com.mdp</groupId>
  12. <artifactId>mdp-products</artifactId>
  13. <version>M.1.0.0-RELEASE</version>
  14. </parent>
  15. <properties>
  16. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  17. <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
  18. <skipTests>true</skipTests>
  19. <docker.host>http://192.168.3.101:2375</docker.host>
  20. <docker.maven.plugin.version>1.2.2</docker.maven.plugin.version>
  21. </properties>
  22. <modules>
  23. <module>xm-core</module>
  24. <module>xm-bootstrap</module>
  25. </modules>
  26. <dependencyManagement>
  27. <dependencies>
  28. <dependency>
  29. <groupId>com.xm</groupId>
  30. <artifactId>xm-core</artifactId>
  31. <version>${mdp.version}</version>
  32. </dependency>
  33. </dependencies>
  34. </dependencyManagement>
  35. <dependencies>
  36. <dependency>
  37. <groupId>com.mdp</groupId>
  38. <artifactId>mdp-oauth2-client</artifactId>
  39. <version>${mdp.version}</version>
  40. </dependency>
  41. <dependency>
  42. <groupId>com.mdp</groupId>
  43. <artifactId>mdp-audit-log-client</artifactId>
  44. <version>${mdp.version}</version>
  45. </dependency>
  46. <dependency>
  47. <groupId>net.coobird</groupId>
  48. <artifactId>thumbnailator</artifactId>
  49. <version>0.4.8</version>
  50. </dependency>
  51. <dependency>
  52. <groupId>org.apache.poi</groupId>
  53. <artifactId>poi</artifactId>
  54. <version>3.17</version>
  55. </dependency>
  56. <dependency>
  57. <groupId>org.apache.poi</groupId>
  58. <artifactId>poi-ooxml</artifactId>
  59. <version>3.17</version>
  60. </dependency>
  61. <dependency>
  62. <groupId>org.apache.poi</groupId>
  63. <artifactId>poi-ooxml-schemas</artifactId>
  64. <version>3.17</version>
  65. </dependency>
  66. <dependency>
  67. <groupId>com.alibaba</groupId>
  68. <artifactId>easyexcel</artifactId>
  69. <version>2.1.1</version>
  70. </dependency>
  71. <dependency>
  72. <groupId>org.jsoup</groupId>
  73. <artifactId>jsoup</artifactId>
  74. <version>1.11.3</version>
  75. </dependency>
  76. </dependencies>
  77. <build>
  78. <pluginManagement>
  79. <plugins>
  80. <plugin>
  81. <groupId>org.springframework.boot</groupId>
  82. <artifactId>spring-boot-maven-plugin</artifactId>
  83. <executions>
  84. <execution>
  85. <goals>
  86. <goal>repackage</goal>
  87. </goals>
  88. </execution>
  89. </executions>
  90. </plugin>
  91. <plugin>
  92. <groupId>com.spotify</groupId>
  93. <artifactId>docker-maven-plugin</artifactId>
  94. <version>${docker.maven.plugin.version}</version>
  95. <!--<executions>-->
  96. <!--<execution>-->
  97. <!--<id>build-image</id>-->
  98. <!--<phase>package</phase>-->
  99. <!--<goals>-->
  100. <!--<goal>build</goal>-->
  101. <!--</goals>-->
  102. <!--</execution>-->
  103. <!--</executions>-->
  104. <configuration>
  105. <imageName>mmcloud/${project.artifactId}:${project.version}</imageName>
  106. <dockerHost>${docker.host}</dockerHost>
  107. <baseImage>java:8</baseImage>
  108. <entryPoint>["java", "-jar", "-Dspring.profiles.active=prod","/${project.build.finalName}.jar"]
  109. </entryPoint>
  110. <resources>
  111. <resource>
  112. <targetPath>/</targetPath>
  113. <directory>${project.build.directory}</directory>
  114. <include>${project.build.finalName}.jar</include>
  115. </resource>
  116. </resources>
  117. </configuration>
  118. </plugin>
  119. </plugins>
  120. </pluginManagement>
  121. </build>
  122. </project>