pom.xml 3.4 KB

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