pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  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>ms-mcms</artifactId>
  8. <version>5.1</version>
  9. <name>ms-mcms</name>
  10. <properties>
  11. <java.version>1.8</java.version>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>net.mingsoft</groupId>
  16. <artifactId>ms-mpeople</artifactId>
  17. <version>1.0.25</version>
  18. </dependency>
  19. <!-- 此部分是铭飞平台MStroe的客户端(MStore不在铭飞开源产品范围),如果不需要使用MStore可以删除掉 -->
  20. <dependency>
  21. <groupId>net.mingsoft</groupId>
  22. <artifactId>store-client</artifactId>
  23. <version>3.0</version>
  24. </dependency>
  25. </dependencies>
  26. <build>
  27. <finalName>ms-mcms</finalName>
  28. <plugins>
  29. <plugin>
  30. <groupId>org.apache.maven.plugins</groupId>
  31. <artifactId>maven-compiler-plugin</artifactId>
  32. <version>3.1</version>
  33. <configuration>
  34. <source>${java.version}</source>
  35. <target>${java.version}</target>
  36. </configuration>
  37. </plugin>
  38. </plugins>
  39. <resources>
  40. <resource>
  41. <directory>src/main/webapp</directory>
  42. <excludes>
  43. <exclude>static/**</exclude>
  44. <exclude>html/**</exclude>
  45. <exclude>upload/**</exclude>
  46. <exclude>templets/**</exclude>
  47. </excludes>
  48. </resource>
  49. <resource>
  50. <directory>src/main/java</directory>
  51. <excludes>
  52. <exclude>**/*.java</exclude>
  53. <exclude>**/MSApplication.class</exclude>
  54. <exclude>**/MSServletInitializer.class</exclude>
  55. </excludes>
  56. </resource>
  57. </resources>
  58. <defaultGoal>compile</defaultGoal>
  59. </build>
  60. </project>