pom.xml 1.7 KB

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