pom.xml 2.4 KB

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