pom.xml 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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>mcms</artifactId>
  13. <version>5.0.0</version>
  14. <name>ms-mcms</name>
  15. <properties>
  16. <java.version>1.8</java.version>
  17. </properties>
  18. <repositories>
  19. <repository>
  20. <id>sonatype-nexus-snapshots</id>
  21. <name>Sonatype Nexus Snapshots</name>
  22. <url>http://repo1.maven.org/maven2/</url>
  23. <releases>
  24. <enabled>true</enabled>
  25. </releases>
  26. <snapshots>
  27. <enabled>true</enabled>
  28. </snapshots>
  29. </repository>
  30. <repository>
  31. <id>sonatype</id>
  32. <name>Sonatype Snapshots</name>
  33. <url>https://oss.sonatype.org/content/groups/public/</url>
  34. <releases>
  35. <enabled>true</enabled>
  36. </releases>
  37. <snapshots>
  38. <enabled>true</enabled>
  39. </snapshots>
  40. </repository>
  41. </repositories>
  42. <dependencies>
  43. <dependency>
  44. <groupId>net.mingsoft</groupId>
  45. <artifactId>ms-mpeople</artifactId>
  46. <version>1.0.18</version>
  47. </dependency>
  48. <!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
  49. <dependency>
  50. <groupId>net.mingsoft</groupId>
  51. <artifactId>ms-upgrader</artifactId>
  52. <version>1.0.16</version>
  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. <version>3.1</version>
  62. <configuration>
  63. <source>${java.version}</source>
  64. <target>${java.version}</target>
  65. </configuration>
  66. </plugin>
  67. <plugin>
  68. <groupId>org.springframework.boot</groupId>
  69. <artifactId>spring-boot-maven-plugin</artifactId>
  70. <executions>
  71. <execution>
  72. <goals>
  73. <goal>repackage</goal>
  74. </goals>
  75. </execution>
  76. </executions>
  77. <configuration>
  78. <fork>true</fork>
  79. </configuration>
  80. </plugin>
  81. </plugins>
  82. <resources>
  83. <resource>
  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>