pom.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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>ms-mcms</artifactId>
  8. <version>5.1</version>
  9. <name>ms-mcms</name>
  10. <packaging>jar</packaging>
  11. <properties>
  12. <java.version>1.8</java.version>
  13. </properties>
  14. <repositories>
  15. <repository>
  16. <id>alimaven</id>
  17. <name>aliyun maven</name>
  18. <url>https://maven.aliyun.com/nexus/content/groups/public/</url>
  19. <releases>
  20. <enabled>true</enabled>
  21. </releases>
  22. <snapshots>
  23. <enabled>true</enabled>
  24. </snapshots>
  25. </repository>
  26. </repositories>
  27. <dependencies>
  28. <dependency>
  29. <groupId>net.mingsoft</groupId>
  30. <artifactId>ms-mpeople</artifactId>
  31. </dependency>
  32. <!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
  33. <dependency>
  34. <groupId>net.mingsoft</groupId>
  35. <artifactId>store-client</artifactId>
  36. <version>5.1</version>
  37. </dependency>
  38. <dependency>
  39. <groupId>org.springframework.boot</groupId>
  40. <artifactId>spring-boot-starter</artifactId>
  41. <exclusions>
  42. <exclusion>
  43. <groupId>org.springframework.boot</groupId>
  44. <artifactId>spring-boot-starter-logging</artifactId>
  45. </exclusion>
  46. </exclusions>
  47. </dependency>
  48. </dependencies>
  49. <build>
  50. <finalName>ms-mcms</finalName>
  51. <plugins>
  52. <plugin>
  53. <groupId>org.apache.maven.plugins</groupId>
  54. <artifactId>maven-compiler-plugin</artifactId>
  55. <configuration>
  56. <source>${java.version}</source>
  57. <target>${java.version}</target>
  58. </configuration>
  59. </plugin>
  60. <plugin>
  61. <groupId>org.springframework.boot</groupId>
  62. <artifactId>spring-boot-maven-plugin</artifactId>
  63. <executions>
  64. <execution>
  65. <goals>
  66. <goal>repackage</goal>
  67. </goals>
  68. </execution>
  69. </executions>
  70. <configuration>
  71. <fork>true</fork>
  72. </configuration>
  73. </plugin>
  74. </plugins>
  75. <resources>
  76. <resource>
  77. <filtering>true</filtering>
  78. <directory>src/main/webapp</directory>
  79. <excludes>
  80. <!--打包生产-->
  81. <!-- <exclude>static/</exclude>
  82. <exclude>html/</exclude>
  83. <exclude>upload/</exclude>
  84. <exclude>templets/</exclude> -->
  85. </excludes>
  86. </resource>
  87. <resource>
  88. <directory>src/main/resources</directory>
  89. </resource>
  90. <resource>
  91. <directory>src/main/java</directory>
  92. </resource>
  93. </resources>
  94. <defaultGoal>compile</defaultGoal>
  95. </build>
  96. </project>