pom.xml 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>org.springframework.boot</groupId>
  7. <artifactId>spring-boot-starter-parent</artifactId>
  8. <version>2.2.2.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>net.mingsoft</groupId>
  12. <artifactId>ms-mcms</artifactId>
  13. <version>5.1</version>
  14. <name>ms-mcms</name>
  15. <packaging>war</packaging>
  16. <properties>
  17. <java.version>1.8</java.version>
  18. </properties>
  19. <repositories>
  20. <repository>
  21. <id>deploy</id>
  22. <name>ms</name>
  23. <url>http://192.168.0.8:5000/repository/maven-public/</url>
  24. <releases>
  25. <enabled>true</enabled>
  26. </releases>
  27. <snapshots>
  28. <enabled>true</enabled>
  29. </snapshots>
  30. </repository>
  31. </repositories>
  32. <distributionManagement>
  33. <snapshotRepository>
  34. <id>deploy</id>
  35. <name>Sonatype Nexus snapshot repository</name>
  36. <url>http://192.168.0.8:5000/repository/maven-snapshots/</url>
  37. </snapshotRepository>
  38. <repository>
  39. <id>deploy</id>
  40. <name>Sonatype Nexus release repository</name>
  41. <url>http://192.168.0.8:5000/repository/maven-releases/</url>
  42. </repository>
  43. </distributionManagement>
  44. <dependencies>
  45. <dependency>
  46. <groupId>net.mingsoft</groupId>
  47. <artifactId>ms-mpeople</artifactId>
  48. <version>1.0.26</version>
  49. </dependency>
  50. <dependency>
  51. <groupId>net.mingsoft</groupId>
  52. <artifactId>ms-basic</artifactId>
  53. <version>1.0.31</version>
  54. </dependency>
  55. <dependency>
  56. <groupId>net.mingsoft</groupId>
  57. <artifactId>ms-mweixin</artifactId>
  58. <version>1.0.11-SNAPSHOT</version>
  59. </dependency>
  60. <dependency>
  61. <groupId>net.mingsoft</groupId>
  62. <artifactId>ms-mpay</artifactId>
  63. <version>1.0.6-SNAPSHOT</version>
  64. </dependency>
  65. <dependency>
  66. <groupId>net.mingsoft</groupId>
  67. <artifactId>ms-mcomment</artifactId>
  68. <version>1.0.3-SNAPSHOT</version>
  69. </dependency>
  70. <dependency>
  71. <groupId>net.mingsoft</groupId>
  72. <artifactId>ms-mattention</artifactId>
  73. <version>1.0.3</version>
  74. </dependency>
  75. <dependency>
  76. <groupId>net.mingsoft</groupId>
  77. <artifactId>ms-msend</artifactId>
  78. <version>1.0.11-SNAPSHOT</version>
  79. </dependency>
  80. <!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
  81. <dependency>
  82. <groupId>net.mingsoft</groupId>
  83. <artifactId>store-client</artifactId>
  84. <version>5.1</version>
  85. </dependency>
  86. <dependency>
  87. <groupId>org.springframework.boot</groupId>
  88. <artifactId>spring-boot-starter-web</artifactId>
  89. <exclusions>
  90. <exclusion>
  91. <groupId>org.springframework.boot</groupId>
  92. <artifactId>spring-boot-starter-tomcat</artifactId>
  93. </exclusion>
  94. </exclusions>
  95. </dependency>
  96. <dependency>
  97. <groupId>org.springframework.boot</groupId>
  98. <artifactId>spring-boot-starter-tomcat</artifactId>
  99. <scope>provided</scope>
  100. </dependency>
  101. <dependency>
  102. <groupId>org.apache.tomcat</groupId>
  103. <artifactId>tomcat-servlet-api</artifactId>
  104. <version>7.0.42</version>
  105. <scope>provided</scope>
  106. </dependency>
  107. <dependency>
  108. <groupId>org.springframework.boot</groupId>
  109. <artifactId>spring-boot-starter</artifactId>
  110. <exclusions>
  111. <exclusion>
  112. <groupId>org.springframework.boot</groupId>
  113. <artifactId>spring-boot-starter-logging</artifactId>
  114. </exclusion>
  115. </exclusions>
  116. </dependency>
  117. </dependencies>
  118. <build>
  119. <finalName>ms-mcms</finalName>
  120. <plugins>
  121. <plugin>
  122. <groupId>org.apache.maven.plugins</groupId>
  123. <artifactId>maven-compiler-plugin</artifactId>
  124. <version>3.1</version>
  125. <configuration>
  126. <source>${java.version}</source>
  127. <target>${java.version}</target>
  128. </configuration>
  129. </plugin>
  130. <plugin>
  131. <groupId>org.springframework.boot</groupId>
  132. <artifactId>spring-boot-maven-plugin</artifactId>
  133. <executions>
  134. <execution>
  135. <goals>
  136. <goal>repackage</goal>
  137. </goals>
  138. </execution>
  139. </executions>
  140. <configuration>
  141. <fork>true</fork>
  142. </configuration>
  143. </plugin>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-war-plugin</artifactId>
  147. <configuration>
  148. <warSourceExcludes>src/main/resources/**</warSourceExcludes>
  149. <warName>store</warName>
  150. </configuration>
  151. </plugin>
  152. </plugins>
  153. <resources>
  154. <resource>
  155. <filtering>true</filtering>
  156. <directory>src/main/webapp</directory>
  157. </resource>
  158. <resource>
  159. <directory>src/main/resources</directory>
  160. </resource>
  161. <resource>
  162. <directory>src/main/java</directory>
  163. </resource>
  164. </resources>
  165. <defaultGoal>compile</defaultGoal>
  166. </build>
  167. </project>