pom.xml 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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.RELEASE</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <groupId>net.mingsoft</groupId>
  12. <artifactId>ms-mcms</artifactId>
  13. <version>5.2.0.RELEASE</version>
  14. <name>ms-mcms</name>
  15. <!-- 打包jar包 -->
  16. <packaging>jar</packaging>
  17. <!-- 打包war包 -->
  18. <!-- <packaging>war</packaging> -->
  19. <properties>
  20. <java.version>1.8</java.version>
  21. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  22. </properties>
  23. <dependencies>
  24. <dependency>
  25. <groupId>net.mingsoft</groupId>
  26. <artifactId>ms-mpeople</artifactId>
  27. </dependency>
  28. <dependency>
  29. <groupId>net.mingsoft</groupId>
  30. <artifactId>store-client</artifactId>
  31. <version>5.2.0.RELEASE</version>
  32. </dependency>
  33. </dependencies>
  34. <build>
  35. <finalName>ms-mcms</finalName>
  36. <plugins>
  37. <plugin>
  38. <groupId>org.apache.maven.plugins</groupId>
  39. <artifactId>maven-compiler-plugin</artifactId>
  40. <version>3.1</version>
  41. <configuration>
  42. <source>${java.version}</source>
  43. <target>${java.version}</target>
  44. <encoding>${project.build.sourceEncoding}</encoding>
  45. <showDeprecation>true</showDeprecation>
  46. <showWarnings>true</showWarnings>
  47. <compilerArguments>
  48. <verbose/>
  49. <bootclasspath>${java.home}/lib/rt.jar${path.separator}${java.home}/lib/jce.jar</bootclasspath>
  50. </compilerArguments>
  51. </configuration>
  52. <dependencies>
  53. <dependency>
  54. <groupId>org.codehaus.plexus</groupId>
  55. <artifactId>plexus-compiler-eclipse</artifactId>
  56. <version>2.1</version>
  57. </dependency>
  58. </dependencies>
  59. </plugin>
  60. </plugins>
  61. <resources>
  62. <resource>
  63. <directory>src/main/webapp</directory>
  64. </resource>
  65. <resource>
  66. <directory>src/main/resources</directory>
  67. </resource>
  68. <resource>
  69. <directory>src/main/java</directory>
  70. <excludes>
  71. <exclude>**/*.java</exclude>
  72. </excludes>
  73. </resource>
  74. </resources>
  75. <defaultGoal>compile</defaultGoal>
  76. </build>
  77. </project>