pom.xml 3.0 KB

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