pom.xml 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  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. <modelVersion>4.0.0</modelVersion>
  6. <groupId>net.mingsoft</groupId>
  7. <artifactId>mcms</artifactId>
  8. <version>0.0.1-SNAPSHOT</version>
  9. <name>mcms1</name>
  10. <packaging>war</packaging>
  11. <properties>
  12. <java.version>1.8</java.version>
  13. </properties>
  14. <repositories>
  15. <repository>
  16. <id>sonatype-nexus-snapshots</id>
  17. <name>Sonatype Nexus Snapshots</name>
  18. <url>http://repo1.maven.org/maven2/</url>
  19. <releases>
  20. <enabled>true</enabled>
  21. </releases>
  22. <snapshots>
  23. <enabled>true</enabled>
  24. </snapshots>
  25. </repository>
  26. <repository>
  27. <id>sonatype</id>
  28. <name>Sonatype Snapshots</name>
  29. <url>https://oss.sonatype.org/content/groups/public/</url>
  30. <releases>
  31. <enabled>true</enabled>
  32. </releases>
  33. <snapshots>
  34. <enabled>true</enabled>
  35. </snapshots>
  36. </repository>
  37. </repositories>
  38. <dependencies>
  39. <dependency>
  40. <groupId>net.mingsoft</groupId>
  41. <artifactId>ms-base</artifactId>
  42. <version>1.0.8.1-SNAPSHOT</version>
  43. </dependency>
  44. <dependency>
  45. <groupId>net.mingsoft</groupId>
  46. <artifactId>ms-basic</artifactId>
  47. <version>1.0.8.1-SNAPSHOT</version>
  48. <classifier>classes</classifier>
  49. <scope>provided</scope>
  50. </dependency>
  51. <dependency>
  52. <groupId>net.mingsoft</groupId>
  53. <artifactId>ms-basic</artifactId>
  54. <version>1.0.8.1-SNAPSHOT</version>
  55. <type>war</type>
  56. </dependency>
  57. <dependency>
  58. <groupId>net.mingsoft</groupId>
  59. <artifactId>ms-mdiy</artifactId>
  60. <version>1.0.7-SNAPSHOT</version>
  61. <classifier>classes</classifier>
  62. <scope>provided</scope>
  63. </dependency>
  64. <dependency>
  65. <groupId>net.mingsoft</groupId>
  66. <artifactId>ms-mdiy</artifactId>
  67. <version>1.0.7-SNAPSHOT</version>
  68. <type>war</type>
  69. </dependency>
  70. <dependency>
  71. <groupId>net.mingsoft</groupId>
  72. <artifactId>ms-mpeople</artifactId>
  73. <version>1.0.7-SNAPSHOT</version>
  74. <classifier>classes</classifier>
  75. <scope>provided</scope>
  76. </dependency>
  77. <dependency>
  78. <groupId>net.mingsoft</groupId>
  79. <artifactId>ms-mpeople</artifactId>
  80. <version>1.0.7-SNAPSHOT</version>
  81. <type>war</type>
  82. </dependency>
  83. <!-- swagger2接口文档依赖 -->
  84. <dependency>
  85. <groupId>io.springfox</groupId>
  86. <artifactId>springfox-swagger2</artifactId>
  87. <version>2.9.2</version>
  88. <exclusions>
  89. <exclusion>
  90. <groupId>org.springframework</groupId>
  91. <artifactId>spring-core</artifactId>
  92. </exclusion>
  93. <exclusion>
  94. <groupId>org.springframework</groupId>
  95. <artifactId>spring-beans</artifactId>
  96. </exclusion>
  97. <exclusion>
  98. <groupId>org.springframework</groupId>
  99. <artifactId>spring-context</artifactId>
  100. </exclusion>
  101. <exclusion>
  102. <groupId>org.springframework</groupId>
  103. <artifactId>spring-context-support</artifactId>
  104. </exclusion>
  105. <exclusion>
  106. <groupId>org.springframework</groupId>
  107. <artifactId>spring-aop</artifactId>
  108. </exclusion>
  109. <exclusion>
  110. <groupId>org.springframework</groupId>
  111. <artifactId>spring-tx</artifactId>
  112. </exclusion>
  113. <exclusion>
  114. <groupId>org.springframework</groupId>
  115. <artifactId>spring-orm</artifactId>
  116. </exclusion>
  117. <exclusion>
  118. <groupId>org.springframework</groupId>
  119. <artifactId>spring-jdbc</artifactId>
  120. </exclusion>
  121. <exclusion>
  122. <groupId>org.springframework</groupId>
  123. <artifactId>spring-web</artifactId>
  124. </exclusion>
  125. <exclusion>
  126. <groupId>org.springframework</groupId>
  127. <artifactId>spring-webmvc</artifactId>
  128. </exclusion>
  129. <exclusion>
  130. <groupId>org.springframework</groupId>
  131. <artifactId>spring-oxm</artifactId>
  132. </exclusion>
  133. </exclusions>
  134. </dependency>
  135. <dependency>
  136. <groupId>io.springfox</groupId>
  137. <artifactId>springfox-swagger-ui</artifactId>
  138. <version>2.9.2</version>
  139. </dependency>
  140. </dependencies>
  141. <build>
  142. <finalName>ms-mcms</finalName>
  143. <plugins>
  144. <plugin>
  145. <groupId>org.apache.maven.plugins</groupId>
  146. <artifactId>maven-compiler-plugin</artifactId>
  147. <version>3.1</version>
  148. <configuration>
  149. <source>${java.version}</source>
  150. <target>${java.version}</target>
  151. </configuration>
  152. </plugin>
  153. <plugin>
  154. <groupId>org.springframework.boot</groupId>
  155. <artifactId>spring-boot-maven-plugin</artifactId>
  156. <executions>
  157. <execution>
  158. <goals>
  159. <goal>repackage</goal>
  160. </goals>
  161. </execution>
  162. </executions>
  163. <configuration>
  164. <fork>true</fork>
  165. </configuration>
  166. </plugin>
  167. <plugin>
  168. <groupId>org.springframework.boot</groupId>
  169. <artifactId>spring-boot-maven-plugin</artifactId>
  170. </plugin>
  171. <plugin>
  172. <groupId>org.apache.maven.plugins</groupId>
  173. <artifactId>maven-war-plugin</artifactId>
  174. <configuration>
  175. <failOnMissingWebXml>false</failOnMissingWebXml>
  176. </configuration>
  177. </plugin>
  178. </plugins>
  179. <resources>
  180. <resource>
  181. <directory>src/main/webapp</directory>
  182. </resource>
  183. <resource>
  184. <directory>src/main/resources</directory>
  185. <filtering>true</filtering>
  186. </resource>
  187. <resource>
  188. <directory>src/main/java</directory>
  189. <includes>
  190. <include>**/*.xml</include>
  191. </includes>
  192. </resource>
  193. </resources>
  194. <defaultGoal>compile</defaultGoal>
  195. </build>
  196. </project>