pom.xml 3.0 KB

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