pom.xml 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  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.13.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>net.mingsoft</groupId>
  12. <artifactId>ms-mcms</artifactId>
  13. <version>5.2.4</version>
  14. <name>ms-mcms</name>
  15. <!-- 打包war包 -->
  16. <!-- <packaging>war</packaging>-->
  17. <properties>
  18. <java.version>1.8</java.version>
  19. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  20. </properties>
  21. <repositories>
  22. <repository>
  23. <id>central-repos</id>
  24. <name>Central Repository 2</name>
  25. <url>https://repo.maven.apache.org/maven2/</url>
  26. </repository>
  27. <!--阿里云仓库-->
  28. <!--
  29. <repository>
  30. <id>alimaven</id>
  31. <name>aliyun maven</name>
  32. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  33. <releases>
  34. <enabled>true</enabled>
  35. </releases>
  36. <snapshots>
  37. <enabled>true</enabled>
  38. </snapshots>
  39. </repository>
  40. -->
  41. </repositories>
  42. <dependencies>
  43. <dependency>
  44. <groupId>net.mingsoft</groupId>
  45. <artifactId>ms-base</artifactId>
  46. <version>2.1.8</version>
  47. </dependency>
  48. <!--base源码-->
  49. <dependency>
  50. <groupId>net.mingsoft</groupId>
  51. <artifactId>ms-base</artifactId>
  52. <version>2.1.8</version>
  53. <classifier>sources</classifier>
  54. <scope>provided</scope>
  55. </dependency>
  56. <dependency>
  57. <groupId>net.mingsoft</groupId>
  58. <artifactId>ms-basic</artifactId>
  59. <version>2.1.8</version>
  60. </dependency>
  61. <!--basic源码-->
  62. <dependency>
  63. <groupId>net.mingsoft</groupId>
  64. <artifactId>ms-basic</artifactId>
  65. <version>2.1.8</version>
  66. <classifier>sources</classifier>
  67. <scope>provided</scope>
  68. </dependency>
  69. <dependency>
  70. <groupId>net.mingsoft</groupId>
  71. <artifactId>ms-mdiy</artifactId>
  72. <version>2.1.8</version>
  73. </dependency>
  74. <!--mdiy源码-->
  75. <dependency>
  76. <groupId>net.mingsoft</groupId>
  77. <artifactId>ms-mdiy</artifactId>
  78. <version>2.1.8</version>
  79. <classifier>sources</classifier>
  80. <scope>provided</scope>
  81. </dependency>
  82. <!--store入口依赖(源码不开发),如果不需要MStore可以直接去掉依赖-->
  83. <dependency>
  84. <groupId>net.mingsoft</groupId>
  85. <artifactId>store-client</artifactId>
  86. <version>2.1.8</version>
  87. </dependency>
  88. </dependencies>
  89. <build>
  90. <finalName>ms-mcms</finalName>
  91. <resources>
  92. <resource>
  93. <directory>src/main/webapp</directory>
  94. <excludes>
  95. <!-- 打包生产并手动将static、html、upload、template复制到生产 -->
  96. <exclude>static/</exclude>
  97. <exclude>html/</exclude>
  98. <exclude>upload/</exclude>
  99. <exclude>template/</exclude>
  100. <!-- 如果生产需要实时修改WEB-INF/下的页面可,启用这行并手动将项目中的WEB-INF目录复制到运行环境 -->
  101. <!-- <exclude>WEB-INF/</exclude>-->
  102. </excludes>
  103. </resource>
  104. <resource>
  105. <directory>src/main/resources</directory>
  106. </resource>
  107. <resource>
  108. <directory>src/main/java</directory>
  109. <excludes>
  110. <exclude>**/*.java</exclude>
  111. </excludes>
  112. </resource>
  113. </resources>
  114. <plugins>
  115. <plugin>
  116. <groupId>org.springframework.boot</groupId>
  117. <artifactId>spring-boot-maven-plugin</artifactId>
  118. <configuration>
  119. <executable>true</executable>
  120. <fork>true</fork>
  121. </configuration>
  122. </plugin>
  123. <plugin>
  124. <groupId>org.apache.maven.plugins</groupId>
  125. <artifactId>maven-compiler-plugin</artifactId>
  126. <version>3.1</version>
  127. <configuration>
  128. <source>${java.version}</source>
  129. <target>${java.version}</target>
  130. <encoding>${project.build.sourceEncoding}</encoding>
  131. <showDeprecation>true</showDeprecation>
  132. <showWarnings>true</showWarnings>
  133. <compilerArguments>
  134. <verbose/>
  135. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  136. </compilerArguments>
  137. </configuration>
  138. <dependencies>
  139. <dependency>
  140. <groupId>org.codehaus.plexus</groupId>
  141. <artifactId>plexus-compiler-eclipse</artifactId>
  142. <version>2.1</version>
  143. </dependency>
  144. </dependencies>
  145. </plugin>
  146. </plugins>
  147. <defaultGoal>compile</defaultGoal>
  148. </build>
  149. </project>