pom.xml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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. </dependencies>
  45. <build>
  46. <finalName>ms-mcms</finalName>
  47. <plugins>
  48. <plugin>
  49. <groupId>org.apache.maven.plugins</groupId>
  50. <artifactId>maven-compiler-plugin</artifactId>
  51. <version>3.1</version>
  52. <configuration>
  53. <source>${java.version}</source>
  54. <target>${java.version}</target>
  55. </configuration>
  56. </plugin>
  57. <plugin>
  58. <groupId>org.springframework.boot</groupId>
  59. <artifactId>spring-boot-maven-plugin</artifactId>
  60. <executions>
  61. <execution>
  62. <goals>
  63. <goal>repackage</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. <configuration>
  68. <fork>true</fork>
  69. </configuration>
  70. </plugin>
  71. </plugins>
  72. <resources>
  73. <resource>
  74. <directory>src/main/webapp</directory>
  75. </resource>
  76. <resource>
  77. <directory>src/main/resources</directory>
  78. </resource>
  79. <resource>
  80. <directory>src/main/java</directory>
  81. </resource>
  82. </resources>
  83. <defaultGoal>compile</defaultGoal>
  84. </build>
  85. </project>